home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Blastoff
/
Sound Blastoff.iso
/
Sound Utilities
/
MPEGAud FPU 1.0a6
/
MPEGAud FPU
/
MPEGAud FPU.rsrc
/
bin.rsrc_CODE_4___%Main.txt
< prev
next >
Wrap
Text File
|
1995-01-23
|
414KB
|
7,455 lines
# near model CODE resource
# jump table entries: 40-84 (45 of them)
00000000 0000 0028 ori.b D0, 0x28 /* '(' */
00000004 0000 4ECC ori.b D0, 0xCC
00000008 4AAD F3B8 tst.l [A5 - 0xC48]
0000000C 6604 bne +0x6 /* 00000012 */
0000000E 70FF moveq.l D0, 0xFFFFFFFF
00000010 4E75 rts
label00000012:
00000012 53AD F3B8 subq.l [A5 - 0xC48], 1
00000016 41ED DE68 lea.l A0, [A5 - 0x2198]
0000001A 202D F3B8 move.l D0, [A5 - 0xC48]
0000001E 21AF 0004 0C00 move.l [A0 + D0 * 4], [A7 + 0x4]
00000024 7000 moveq.l D0, 0x00
00000026 4E75 rts
00000028 6012 bra +0x14 /* 0000003C */
label0000002A:
0000002A 202D F3B4 move.l D0, [A5 - 0xC4C]
0000002E 52AD F3B4 addq.l [A5 - 0xC4C], 1
00000032 41ED DEF0 lea.l A0, [A5 - 0x2110]
00000036 2070 0C00 movea.l A0, [A0 + D0 * 4]
0000003A 4E90 jsr [A0]
label0000003C:
0000003C 7022 moveq.l D0, 0x22
0000003E B0AD F3B4 cmp.l D0, [A5 - 0xC4C]
00000042 62E6 bhi -0x18 /* 0000002A */
00000044 3F2F 0004 move.w -[A7], [A7 + 0x4]
00000048 4EB9 0000 0056 jsr [0x00000056]
0000004E 544F addq.w A7, 2
00000050 4E75 rts
00000052 6012 bra +0x14 /* 00000066 */
label00000054:
00000054 202D F3B8 move.l D0, [A5 - 0xC48]
00000058 52AD F3B8 addq.l [A5 - 0xC48], 1
0000005C 41ED DE68 lea.l A0, [A5 - 0x2198]
00000060 2070 0C00 movea.l A0, [A0 + D0 * 4]
00000064 4E90 jsr [A0]
label00000066:
00000066 7022 moveq.l D0, 0x22
00000068 B0AD F3B8 cmp.l D0, [A5 - 0xC48]
0000006C 62E6 bhi -0x18 /* 00000054 */
0000006E 4EB9 0000 25B2 jsr [0x000025B2]
00000074 4EB9 0000 043E jsr [0x0000043E]
0000007A A9F4 syscall ExitToShell
0000007C 4E75 rts
0000007E 48E7 1020 movem.l -[A7], D3,A2
00000082 4FEF FFF6 lea.l A7, [A7 - 0xA]
00000086 362F 0016 move.w D3, [A7 + 0x16]
0000008A 4878 0001 push.l 0x1
0000008E 3F03 move.w -[A7], D3
00000090 4EB9 0000 017C jsr [0x0000017C /* KeypadMap */]
00000096 2448 movea.l A2, A0
00000098 70FF moveq.l D0, 0xFFFFFFFF
0000009A B5C0 cmpa.l A2, D0
0000009C 5C4F addq.w A7, 6
0000009E 6606 bne +0x8 /* 000000A6 */
000000A0 70FF moveq.l D0, 0xFFFFFFFF
000000A2 6000 00CA bra +0xCC /* 0000016E */
label000000A6:
000000A6 7001 moveq.l D0, 0x01
000000A8 B5C0 cmpa.l A2, D0
000000AA 6700 00C0 beq +0xC2 /* 0000016C */
000000AE 200A move.l D0, A2
000000B0 6714 beq +0x16 /* 000000C6 */
000000B2 42A7 clr.l -[A7]
000000B4 3F03 move.w -[A7], D3
000000B6 4EB9 0000 017C jsr [0x0000017C /* KeypadMap */]
000000BC 3F03 move.w -[A7], D3
000000BE 4E92 jsr [A2]
000000C0 504F addq.w A7, 8
000000C2 6000 00A8 bra +0xAA /* 0000016C */
label000000C6:
000000C6 3003 move.w D0, D3
000000C8 4EB9 0000 0466 jsr [0x00000466]
000000CE 0044 0002 ori.w D4, 0x2
000000D2 000F 0005 ori.b A7, 0x5
000000D6 0002 0028 ori.b D2, 0x28 /* '(' */
000000DA 0004 001E ori.b D4, 0x1E
000000DE 0006 000E ori.b D6, 0xE
000000E2 0008 0010 ori.b A0, 0x10
000000E6 000B 001E ori.b A3, 0x1E
000000EA 000F 0020 ori.b A7, 0x20 /* ' ' */
000000EE 45ED FA4C lea.l A2, [A5 - 0x5B4]
000000F2 6050 bra +0x52 /* 00000144 */
000000F4 45ED FA53 lea.l A2, [A5 - 0x5AD]
000000F8 604A bra +0x4C /* 00000144 */
000000FA 45ED FA64 lea.l A2, [A5 - 0x59C]
000000FE 6044 bra +0x46 /* 00000144 */
00000100 45ED FA7C lea.l A2, [A5 - 0x584]
00000104 603E bra +0x40 /* 00000144 */
00000106 45ED FA89 lea.l A2, [A5 - 0x577]
0000010A 6038 bra +0x3A /* 00000144 */
0000010C 45ED FAA0 lea.l A2, [A5 - 0x560]
00000110 6032 bra +0x34 /* 00000144 */
00000112 41D7 lea.l A0, [A7]
00000114 5088 addq.l A0, 8
00000116 5288 addq.l A0, 1
00000118 2448 movea.l A2, A0
0000011A 4210 clr.b [A0]
label0000011C:
0000011C 3043 movea.w A0, D3
0000011E 2008 move.l D0, A0
00000120 81FC 000A divs.w D0, 0xA /* '\n' */
00000124 4840 swap.w D0
00000126 0640 0030 addi.w D0, 0x30 /* '0' */
0000012A 1500 move.b -[A2], D0
0000012C 48C3 ext.l D3
0000012E 87FC 000A divs.w D3, 0xA /* '\n' */
00000132 66E8 bne -0x16 /* 0000011C */
00000134 486D FB3E pea.l [A5 - 0x4C2]
00000138 486D FAB4 pea.l [A5 - 0x54C]
0000013C 4EB9 0000 039A jsr [0x0000039A]
00000142 504F addq.w A7, 8
label00000144:
00000144 486D FB3E pea.l [A5 - 0x4C2]
00000148 2F0A move.l -[A7], A2
0000014A 4EB9 0000 039A jsr [0x0000039A]
00000150 486D FB3E pea.l [A5 - 0x4C2]
00000154 486D FABD pea.l [A5 - 0x543]
00000158 4EB9 0000 039A jsr [0x0000039A]
0000015E 3F3C 0001 move.w -[A7], 0x1
00000162 4EB9 0000 002C jsr [0x0000002C /* __m68k_vec_f_trap__ */]
00000168 4FEF 0012 lea.l A7, [A7 + 0x12]
label0000016C:
0000016C 7000 moveq.l D0, 0x00
label0000016E:
0000016E 4FEF 000A lea.l A7, [A7 + 0xA]
00000172 4CDF 0408 movem.l D3,A2, [A7]+
00000176 4E75 rts
00000178 2F0B move.l -[A7], A3
0000017A 322F 0008 move.w D1, [A7 + 0x8]
0000017E 266F 000A movea.l A3, [A7 + 0xA]
00000182 4A41 tst.w D1
00000184 6F0C ble +0xE /* 00000192 */
00000186 0C41 0020 cmpi.w D1, 0x20 /* ' ' */
0000018A 6C06 bge +0x8 /* 00000192 */
0000018C 70FF moveq.l D0, 0xFFFFFFFF
0000018E B7C0 cmpa.l A3, D0
00000190 660A bne +0xC /* 0000019C */
label00000192:
00000192 207C FFFF FFFF movea.l A0, 0xFFFFFFFF
00000198 265F movea.l A3, [A7]+
0000019A 4E75 rts
label0000019C:
0000019C 41ED DF7A lea.l A0, [A5 - 0x2086]
000001A0 2270 1400 movea.l A1, [A0 + D1.w * 4]
000001A4 218B 1400 move.l [A0 + D1.w * 4], A3
000001A8 2049 movea.l A0, A1
000001AA 265F movea.l A3, [A7]+
000001AC 4E75 rts
000001AE 2F03 move.l -[A7], D3
000001B0 7600 moveq.l D3, 0x00
000001B2 6018 bra +0x1A /* 000001CC */
label000001B4:
000001B4 41ED FB76 lea.l A0, [A5 - 0x48A]
000001B8 4AB0 3C00 tst.l [A0 + D3 * 4]
000001BC 670C beq +0xE /* 000001CA */
000001BE 2F30 3C00 move.l -[A7], [A0 + D3 * 4]
000001C2 4EB9 0000 01FC jsr [0x000001FC /* SPPortA */]
000001C8 584F addq.w A7, 4
label000001CA:
000001CA 5283 addq.l D3, 1
label000001CC:
000001CC 7040 moveq.l D0, 0x40
000001CE B680 cmp.l D3, D0
000001D0 65E2 bcs -0x1C /* 000001B4 */
000001D2 261F move.l D3, [A7]+
000001D4 4E75 rts
000001D6 4EB9 0000 19D6 jsr [0x000019D6]
000001DC 4A6D DFFA tst.w [A5 - 0x2006]
000001E0 6614 bne +0x16 /* 000001F6 */
000001E2 3B7C 0001 DFFA move.w [A5 - 0x2006], 0x1
000001E8 4879 0000 0028 push.l 0x28 /* '(' */
000001EE 4EB9 0000 000C jsr [0x0000000C /* __m68k_vec_address_error__ */]
000001F4 584F addq.w A7, 4
label000001F6:
000001F6 4E75 rts
000001F8 48E7 1820 movem.l -[A7], D3,D4,A2
000001FC 246F 0010 movea.l A2, [A7 + 0x10]
00000200 2F0A move.l -[A7], A2
00000202 4EB9 0000 02E8 jsr [0x000002E8]
00000208 3800 move.w D4, D0
0000020A 3012 move.w D0, [A2]
0000020C 0240 0040 andi.w D0, 0x40 /* '@' */
00000210 584F addq.w A7, 4
00000212 670C beq +0xE /* 00000220 */
00000214 2F2A 0004 move.l -[A7], [A2 + 0x4]
00000218 4EB9 0000 1476 jsr [0x00001476]
0000021E 584F addq.w A7, 4
label00000220:
00000220 42AA 0004 clr.l [A2 + 0x4]
00000224 4A6A 0002 tst.w [A2 + 0x2]
00000228 6D12 blt +0x14 /* 0000023C */
0000022A 3F2A 0002 move.w -[A7], [A2 + 0x2]
0000022E 4EB9 0000 1A40 jsr [0x00001A40]
00000234 4A40 tst.w D0
00000236 544F addq.w A7, 2
00000238 6702 beq +0x4 /* 0000023C */
0000023A 78FF moveq.l D4, 0xFFFFFFFF
label0000023C:
0000023C 4AAA 0030 tst.l [A2 + 0x30]
00000240 6722 beq +0x24 /* 00000264 */
00000242 2F2A 0030 move.l -[A7], [A2 + 0x30]
00000246 4EB9 0000 05C4 jsr [0x000005C4]
0000024C 4A40 tst.w D0
0000024E 584F addq.w A7, 4
00000250 6702 beq +0x4 /* 00000254 */
00000252 78FF moveq.l D4, 0xFFFFFFFF
label00000254:
00000254 2F2A 0030 move.l -[A7], [A2 + 0x30]
00000258 4EB9 0000 1476 jsr [0x00001476]
0000025E 42AA 0030 clr.l [A2 + 0x30]
00000262 584F addq.w A7, 4
label00000264:
00000264 3012 move.w D0, [A2]
00000266 0240 0080 andi.w D0, 0x80
0000026A 6728 beq +0x2A /* 00000294 */
0000026C 7600 moveq.l D3, 0x00
0000026E 6012 bra +0x14 /* 00000282 */
label00000270:
00000270 41ED FB76 lea.l A0, [A5 - 0x48A]
00000274 B5F0 3C00 cmpa.l A2, [A0 + D3 * 4]
00000278 6606 bne +0x8 /* 00000280 */
0000027A 42B0 3C00 clr.l [A0 + D3 * 4]
0000027E 6008 bra +0xA /* 00000288 */
label00000280:
00000280 5283 addq.l D3, 1
label00000282:
00000282 7040 moveq.l D0, 0x40
00000284 B680 cmp.l D3, D0
00000286 65E8 bcs -0x16 /* 00000270 */
label00000288:
00000288 2F0A move.l -[A7], A2
0000028A 4EB9 0000 1476 jsr [0x00001476]
00000290 584F addq.w A7, 4
00000292 6048 bra +0x4A /* 000002DC */
label00000294:
00000294 4252 clr.w [A2]
00000296 204A movea.l A0, A2
00000298 41E8 0036 lea.l A0, [A0 + 0x36]
0000029C 2548 000C move.l [A2 + 0xC], A0
000002A0 204A movea.l A0, A2
000002A2 41E8 0036 lea.l A0, [A0 + 0x36]
000002A6 2548 0010 move.l [A2 + 0x10], A0
000002AA 204A movea.l A0, A2
000002AC 41E8 0036 lea.l A0, [A0 + 0x36]
000002B0 2548 0026 move.l [A2 + 0x26], A0
000002B4 204A movea.l A0, A2
000002B6 41E8 0036 lea.l A0, [A0 + 0x36]
000002BA 2548 0014 move.l [A2 + 0x14], A0
000002BE 204A movea.l A0, A2
000002C0 41E8 0036 lea.l A0, [A0 + 0x36]
000002C4 2548 002A move.l [A2 + 0x2A], A0
000002C8 204A movea.l A0, A2
000002CA 41E8 0036 lea.l A0, [A0 + 0x36]
000002CE 2548 0018 move.l [A2 + 0x18], A0
000002D2 204A movea.l A0, A2
000002D4 41E8 0022 lea.l A0, [A0 + 0x22]
000002D8 2548 001C move.l [A2 + 0x1C], A0
label000002DC:
000002DC 3004 move.w D0, D4
000002DE 4CDF 0418 movem.l D3,D4,A2, [A7]+
000002E2 4E75 rts
000002E4 48E7 1830 movem.l -[A7], D3,D4,A2,A3
000002E8 246F 0014 movea.l A2, [A7 + 0x14]
000002EC 200A move.l D0, A2
000002EE 662E bne +0x30 /* 0000031E */
000002F0 7800 moveq.l D4, 0x00
000002F2 7600 moveq.l D3, 0x00
000002F4 601E bra +0x20 /* 00000314 */
label000002F6:
000002F6 41ED FB76 lea.l A0, [A5 - 0x48A]
000002FA 4AB0 3400 tst.l [A0 + D3.w * 4]
000002FE 6712 beq +0x14 /* 00000312 */
00000300 2F30 3400 move.l -[A7], [A0 + D3.w * 4]
00000304 4EB9 0000 02E8 jsr [0x000002E8]
0000030A 4A40 tst.w D0
0000030C 584F addq.w A7, 4
0000030E 6C02 bge +0x4 /* 00000312 */
00000310 78FF moveq.l D4, 0xFFFFFFFF
label00000312:
00000312 5243 addq.w D3, 1
label00000314:
00000314 0C43 0040 cmpi.w D3, 0x40 /* '@' */
00000318 6DDC blt -0x22 /* 000002F6 */
0000031A 3004 move.w D0, D4
0000031C 6072 bra +0x74 /* 00000390 */
label0000031E:
0000031E 3012 move.w D0, [A2]
00000320 0240 2000 andi.w D0, 0x2000 /* ' \0' */
00000324 6604 bne +0x6 /* 0000032A */
00000326 7000 moveq.l D0, 0x00
00000328 6066 bra +0x68 /* 00000390 */
label0000032A:
0000032A 266A 0004 movea.l A3, [A2 + 0x4]
0000032E 603C bra +0x3E /* 0000036C */
label00000330:
00000330 206A 000C movea.l A0, [A2 + 0xC]
00000334 91CB sub.l A0, A3
00000336 2008 move.l D0, A0
00000338 3F00 move.w -[A7], D0
0000033A 2F0B move.l -[A7], A3
0000033C 2F0A move.l -[A7], A2
0000033E 4EB9 0000 1B40 jsr [0x00001B40]
00000344 3600 move.w D3, D0
00000346 4A43 tst.w D3
00000348 4FEF 000A lea.l A7, [A7 + 0xA]
0000034C 6E1A bgt +0x1C /* 00000368 */
0000034E 256A 0004 000C move.l [A2 + 0xC], [A2 + 0x4]
00000354 256A 0004 0014 move.l [A2 + 0x14], [A2 + 0x4]
0000035A 256A 0004 002A move.l [A2 + 0x2A], [A2 + 0x4]
00000360 0052 0200 ori.w [A2], 0x200
00000364 70FF moveq.l D0, 0xFFFFFFFF
00000366 6028 bra +0x2A /* 00000390 */
label00000368:
00000368 3043 movea.w A0, D3
0000036A D7C8 add.l A3, A0
label0000036C:
0000036C B7EA 000C cmpa.l A3, [A2 + 0xC]
00000370 65BE bcs -0x40 /* 00000330 */
00000372 256A 0004 000C move.l [A2 + 0xC], [A2 + 0x4]
00000378 3012 move.w D0, [A2]
0000037A 0240 4000 andi.w D0, 0x4000 /* '@\0' */
0000037E 6708 beq +0xA /* 00000388 */
00000380 256A 0008 0014 move.l [A2 + 0x14], [A2 + 0x8]
00000386 6006 bra +0x8 /* 0000038E */
label00000388:
00000388 256A 0008 002A move.l [A2 + 0x2A], [A2 + 0x8]
label0000038E:
0000038E 7000 moveq.l D0, 0x00
label00000390:
00000390 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00000394 4E75 rts
00000396 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
0000039A 594F subq.w A7, 4
0000039C 266F 001C movea.l A3, [A7 + 0x1C]
000003A0 246F 0020 movea.l A2, [A7 + 0x20]
000003A4 6000 009C bra +0x9E /* 00000442 */
label000003A8:
000003A8 206A 000C movea.l A0, [A2 + 0xC]
000003AC B1EA 0014 cmpa.l A0, [A2 + 0x14]
000003B0 6514 bcs +0x16 /* 000003C6 */
000003B2 2F0A move.l -[A7], A2
000003B4 4EB9 0000 0626 jsr [0x00000626]
000003BA 4A40 tst.w D0
000003BC 584F addq.w A7, 4
000003BE 6C06 bge +0x8 /* 000003C6 */
000003C0 70FF moveq.l D0, 0xFFFFFFFF
000003C2 6000 00A6 bra +0xA8 /* 0000046A */
label000003C6:
000003C6 0812 0002 btst.b [A2], 0x2
000003CA 6604 bne +0x6 /* 000003D0 */
000003CC 91C8 sub.l A0, A0
000003CE 600E bra +0x10 /* 000003DE */
label000003D0:
000003D0 3F3C 000A move.w -[A7], 0xA /* '\n' */
000003D4 2F0B move.l -[A7], A3
000003D6 4EB9 0000 1960 jsr [0x00001960]
000003DC 5C4F addq.w A7, 6
label000003DE:
000003DE 2848 movea.l A4, A0
000003E0 200C move.l D0, A4
000003E2 660E bne +0x10 /* 000003F2 */
000003E4 2E80 move.l [A7], D0
000003E6 2F0B move.l -[A7], A3
000003E8 4EB9 0000 1986 jsr [0x00001986]
000003EE 584F addq.w A7, 4
000003F0 6008 bra +0xA /* 000003FA */
label000003F2:
000003F2 204C movea.l A0, A4
000003F4 91CB sub.l A0, A3
000003F6 5288 addq.l A0, 1
000003F8 2008 move.l D0, A0
label000003FA:
000003FA 2600 move.l D3, D0
000003FC 206A 0014 movea.l A0, [A2 + 0x14]
00000400 91EA 000C sub.l A0, [A2 + 0xC]
00000404 2808 move.l D4, A0
00000406 B883 cmp.l D4, D3
00000408 6404 bcc +0x6 /* 0000040E */
0000040A 99CC sub.l A4, A4
0000040C 2604 move.l D3, D4
label0000040E:
0000040E 2F03 move.l -[A7], D3
00000410 2F0B move.l -[A7], A3
00000412 2F2A 000C move.l -[A7], [A2 + 0xC]
00000416 4EB9 0000 188A jsr [0x0000188A]
0000041C D7C3 add.l A3, D3
0000041E D7AA 000C add.l [A2 + 0xC], D3
00000422 200C move.l D0, A4
00000424 4FEF 000C lea.l A7, [A7 + 0xC]
00000428 6718 beq +0x1A /* 00000442 */
0000042A 2F0A move.l -[A7], A2
0000042C 4EB9 0000 02E8 jsr [0x000002E8]
00000432 4A40 tst.w D0
00000434 584F addq.w A7, 4
00000436 670A beq +0xC /* 00000442 */
00000438 256A 0004 0014 move.l [A2 + 0x14], [A2 + 0x4]
0000043E 70FF moveq.l D0, 0xFFFFFFFF
00000440 6028 bra +0x2A /* 0000046A */
label00000442:
00000442 4A13 tst.b [A3]
00000444 6600 FF62 bne -0x9C /* 000003A8 */
00000448 3012 move.w D0, [A2]
0000044A 0240 0800 andi.w D0, 0x800
0000044E 6718 beq +0x1A /* 00000468 */
00000450 256A 0004 0014 move.l [A2 + 0x14], [A2 + 0x4]
00000456 2F0A move.l -[A7], A2
00000458 4EB9 0000 02E8 jsr [0x000002E8]
0000045E 4A40 tst.w D0
00000460 584F addq.w A7, 4
00000462 6704 beq +0x6 /* 00000468 */
00000464 70FF moveq.l D0, 0xFFFFFFFF
00000466 6002 bra +0x4 /* 0000046A */
label00000468:
00000468 7000 moveq.l D0, 0x00
label0000046A:
0000046A 584F addq.w A7, 4
0000046C 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000470 4E75 rts
00000472 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00000476 594F subq.w A7, 4
00000478 2A2F 002C move.l D5, [A7 + 0x2C]
0000047C 2E2F 0030 move.l D7, [A7 + 0x30]
00000480 246F 0034 movea.l A2, [A7 + 0x34]
00000484 266F 0028 movea.l A3, [A7 + 0x28]
00000488 2605 move.l D3, D5
0000048A 4C07 3000 movem.w A4,A5, D7
0000048E 4A83 tst.l D3
00000490 6606 bne +0x8 /* 00000498 */
00000492 7000 moveq.l D0, 0x00
00000494 6000 00CA bra +0xCC /* 00000560 */
label00000498:
00000498 4A85 tst.l D5
0000049A 6600 009A bne +0x9C /* 00000536 */
0000049E 2007 move.l D0, D7
000004A0 6000 00BE bra +0xC0 /* 00000560 */
label000004A4:
000004A4 206A 000C movea.l A0, [A2 + 0xC]
000004A8 B1EA 0014 cmpa.l A0, [A2 + 0x14]
000004AC 6510 bcs +0x12 /* 000004BE */
000004AE 2F0A move.l -[A7], A2
000004B0 4EB9 0000 0626 jsr [0x00000626]
000004B6 4A40 tst.w D0
000004B8 584F addq.w A7, 4
000004BA 6D00 0080 blt +0x82 /* 0000053C */
label000004BE:
000004BE 0812 0002 btst.b [A2], 0x2
000004C2 6604 bne +0x6 /* 000004C8 */
000004C4 91C8 sub.l A0, A0
000004C6 6012 bra +0x14 /* 000004DA */
label000004C8:
000004C8 2F03 move.l -[A7], D3
000004CA 3F3C 000A move.w -[A7], 0xA /* '\n' */
000004CE 2F0B move.l -[A7], A3
000004D0 4EB9 0000 186A jsr [0x0000186A]
000004D6 4FEF 000A lea.l A7, [A7 + 0xA]
label000004DA:
000004DA 2848 movea.l A4, A0
000004DC 200C move.l D0, A4
000004DE 6606 bne +0x8 /* 000004E6 */
000004E0 2E80 move.l [A7], D0
000004E2 2003 move.l D0, D3
000004E4 6008 bra +0xA /* 000004EE */
label000004E6:
000004E6 204C movea.l A0, A4
000004E8 91CB sub.l A0, A3
000004EA 5288 addq.l A0, 1
000004EC 2008 move.l D0, A0
label000004EE:
000004EE 2800 move.l D4, D0
000004F0 206A 0014 movea.l A0, [A2 + 0x14]
000004F4 91EA 000C sub.l A0, [A2 + 0xC]
000004F8 2C08 move.l D6, A0
000004FA BC84 cmp.l D6, D4
000004FC 6404 bcc +0x6 /* 00000502 */
000004FE 99CC sub.l A4, A4
00000500 2806 move.l D4, D6
label00000502:
00000502 2F04 move.l -[A7], D4
00000504 2F0B move.l -[A7], A3
00000506 2F2A 000C move.l -[A7], [A2 + 0xC]
0000050A 4EB9 0000 188A jsr [0x0000188A]
00000510 D7C4 add.l A3, D4
00000512 9684 sub.l D3, D4
00000514 D9AA 000C add.l [A2 + 0xC], D4
00000518 200C move.l D0, A4
0000051A 4FEF 000C lea.l A7, [A7 + 0xC]
0000051E 6716 beq +0x18 /* 00000536 */
00000520 2F0A move.l -[A7], A2
00000522 4EB9 0000 02E8 jsr [0x000002E8]
00000528 4A40 tst.w D0
0000052A 584F addq.w A7, 4
0000052C 6708 beq +0xA /* 00000536 */
0000052E 256A 0004 0014 move.l [A2 + 0x14], [A2 + 0x4]
00000534 6006 bra +0x8 /* 0000053C */
label00000536:
00000536 4A83 tst.l D3
00000538 6600 FF6A bne -0x94 /* 000004A4 */
label0000053C:
0000053C 3012 move.w D0, [A2]
0000053E 0240 0800 andi.w D0, 0x800
00000542 6710 beq +0x12 /* 00000554 */
00000544 256A 0004 0014 move.l [A2 + 0x14], [A2 + 0x4]
0000054A 2F0A move.l -[A7], A2
0000054C 4EB9 0000 02E8 jsr [0x000002E8]
00000552 584F addq.w A7, 4
label00000554:
00000554 2005 move.l D0, D5
00000556 4C07 0000 movem.w <none>, D7
0000055A 9083 sub.l D0, D3
0000055C 4C45 0000 movem.l <none>, D5
label00000560:
00000560 584F addq.w A7, 4
00000562 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00000566 4E75 rts
00000568 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000056C 2F2F 0010 move.l -[A7], [A7 + 0x10]
00000570 4878 0001 push.l 0x1
00000574 2F2F 0014 move.l -[A7], [A7 + 0x14]
00000578 4EB9 0000 0476 jsr [0x00000476]
0000057E B0AF 001C cmp.l D0, [A7 + 0x1C]
00000582 4FEF 0010 lea.l A7, [A7 + 0x10]
00000586 6704 beq +0x6 /* 0000058C */
00000588 91C8 sub.l A0, A0
0000058A 6004 bra +0x6 /* 00000590 */
label0000058C:
0000058C 206F 0004 movea.l A0, [A7 + 0x4]
label00000590:
00000590 4E75 rts
00000592 5D4F subq.w A7, 6
00000594 41EF 000A lea.l A0, [A7 + 0xA]
00000598 5888 addq.l A0, 4
0000059A 2E88 move.l [A7], A0
0000059C 2F17 move.l -[A7], [A7]
0000059E 2F2F 000E move.l -[A7], [A7 + 0xE]
000005A2 486D FB06 pea.l [A5 - 0x4FA]
000005A6 4879 0000 0030 push.l 0x30 /* '0' */
000005AC 4EB9 0000 0B3C jsr [0x00000B3C]
000005B2 3F40 0014 move.w [A7 + 0x14], D0
000005B6 302F 0014 move.w D0, [A7 + 0x14]
000005BA 4FEF 0016 lea.l A7, [A7 + 0x16]
000005BE 4E75 rts
000005C0 2F2F 0004 move.l -[A7], [A7 + 0x4]
000005C4 4EB9 0000 1BB6 jsr [0x00001BB6]
000005CA 584F addq.w A7, 4
000005CC 4E75 rts
000005CE 2F2F 000C move.l -[A7], [A7 + 0xC]
000005D2 2F2F 000C move.l -[A7], [A7 + 0xC]
000005D6 2F2F 000C move.l -[A7], [A7 + 0xC]
000005DA 4EB9 0000 188A jsr [0x0000188A]
000005E0 D1EF 0018 add.l A0, [A7 + 0x18]
000005E4 4FEF 000C lea.l A7, [A7 + 0xC]
000005E8 4E75 rts
000005EA 48E7 1030 movem.l -[A7], D3,A2,A3
000005EE 266F 0010 movea.l A3, [A7 + 0x10]
000005F2 45EF 0014 lea.l A2, [A7 + 0x14]
000005F6 588A addq.l A2, 4
000005F8 2F0A move.l -[A7], A2
000005FA 2F2F 0018 move.l -[A7], [A7 + 0x18]
000005FE 2F0B move.l -[A7], A3
00000600 4879 0000 0040 push.l 0x40 /* '@' */
00000606 4EB9 0000 0B3C jsr [0x00000B3C]
0000060C 3600 move.w D3, D0
0000060E 4A43 tst.w D3
00000610 4FEF 0010 lea.l A7, [A7 + 0x10]
00000614 6D04 blt +0x6 /* 0000061A */
00000616 4233 3000 clr.b [A3 + D3.w]
label0000061A:
0000061A 3003 move.w D0, D3
0000061C 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00000620 4E75 rts
00000622 2F0A move.l -[A7], A2
00000624 246F 0008 movea.l A2, [A7 + 0x8]
00000628 206A 000C movea.l A0, [A2 + 0xC]
0000062C B1EA 0014 cmpa.l A0, [A2 + 0x14]
00000630 6406 bcc +0x8 /* 00000638 */
00000632 7000 moveq.l D0, 0x00
00000634 245F movea.l A2, [A7]+
00000636 4E75 rts
label00000638:
00000638 3012 move.w D0, [A2]
0000063A 0240 6000 andi.w D0, 0x6000 /* '`\0' */
0000063E 0C40 6000 cmpi.w D0, 0x6000 /* '`\0' */
00000642 660E bne +0x10 /* 00000652 */
00000644 2F0A move.l -[A7], A2
00000646 4EB9 0000 02E8 jsr [0x000002E8]
0000064C 584F addq.w A7, 4
0000064E 6000 009A bra +0x9C /* 000006EA */
label00000652:
00000652 3012 move.w D0, [A2]
00000654 0240 9002 andi.w D0, 0x9002
00000658 5540 subq.w D0, 2
0000065A 6718 beq +0x1A /* 00000674 */
0000065C 0812 0007 btst.b [A2], 0x7
00000660 6606 bne +0x8 /* 00000668 */
00000662 303C 4200 move.w D0, 0x4200 /* 'B\0' */
00000666 6004 bra +0x6 /* 0000066C */
label00000668:
00000668 303C 0200 move.w D0, 0x200
label0000066C:
0000066C 8152 or.w [A2], D0
0000066E 70FF moveq.l D0, 0xFFFFFFFF
00000670 245F movea.l A2, [A7]+
00000672 4E75 rts
label00000674:
00000674 4AAA 0004 tst.l [A2 + 0x4]
00000678 6652 bne +0x54 /* 000006CC */
0000067A 4878 1000 push.l 0x1000
0000067E 4EB9 0000 15FA jsr [0x000015FA]
00000684 2548 0004 move.l [A2 + 0x4], A0
00000688 2008 move.l D0, A0
0000068A 584F addq.w A7, 4
0000068C 661C bne +0x1E /* 000006AA */
0000068E 204A movea.l A0, A2
00000690 41E8 0036 lea.l A0, [A0 + 0x36]
00000694 2548 0004 move.l [A2 + 0x4], A0
00000698 206A 0004 movea.l A0, [A2 + 0x4]
0000069C 5288 addq.l A0, 1
0000069E 2548 0008 move.l [A2 + 0x8], A0
000006A2 4EB9 0000 01DA jsr [0x000001DA]
000006A8 6022 bra +0x24 /* 000006CC */
label000006AA:
000006AA 0052 0040 ori.w [A2], 0x40 /* '@' */
000006AE 206A 0004 movea.l A0, [A2 + 0x4]
000006B2 41E8 1000 lea.l A0, [A0 + 0x1000]
000006B6 2548 0008 move.l [A2 + 0x8], A0
000006BA 256A 0004 0026 move.l [A2 + 0x26], [A2 + 0x4]
000006C0 256A 0004 002A move.l [A2 + 0x2A], [A2 + 0x4]
000006C6 4EB9 0000 01DA jsr [0x000001DA]
label000006CC:
000006CC 256A 0004 000C move.l [A2 + 0xC], [A2 + 0x4]
000006D2 256A 0004 0010 move.l [A2 + 0x10], [A2 + 0x4]
000006D8 256A 0008 0014 move.l [A2 + 0x14], [A2 + 0x8]
000006DE 0052 6000 ori.w [A2], 0x6000 /* '`\0' */
000006E2 4EB9 0000 01DA jsr [0x000001DA]
000006E8 7000 moveq.l D0, 0x00
label000006EA:
000006EA 245F movea.l A2, [A7]+
000006EC 4E75 rts
000006EE 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000006F2 4FEF FEC0 lea.l A7, [A7 - 0x140]
000006F6 246F 0164 movea.l A2, [A7 + 0x164]
000006FA 182F 0168 move.b D4, [A7 + 0x168]
000006FE F212 .extension 0x212 // unimplemented
00000700 4800 nbcd.b D0
00000702 F217 .extension 0x217 // unimplemented
00000704 6800 266A bvc +0x266C /* 00002D70 */
00000708 0014 7600 ori.b [A4], 0x0
0000070C 7C00 moveq.l D6, 0x00
0000070E 4A6A 0024 tst.w [A2 + 0x24]
00000712 6C08 bge +0xA /* 0000071C */
00000714 357C 0006 0024 move.w [A2 + 0x24], 0x6
0000071A 6018 bra +0x1A /* 00000734 */
label0000071C:
0000071C 4A6A 0024 tst.w [A2 + 0x24]
00000720 6612 bne +0x14 /* 00000734 */
00000722 0C04 0067 cmpi.b D4, 0x67 /* 'g' */
00000726 6706 beq +0x8 /* 0000072E */
00000728 0C04 0047 cmpi.b D4, 0x47 /* 'G' */
0000072C 6606 bne +0x8 /* 00000734 */
label0000072E:
0000072E 357C 0001 0024 move.w [A2 + 0x24], 0x1
label00000734:
00000734 3F6A 0024 013E move.w [A7 + 0x13E], [A2 + 0x24]
0000073A 1004 move.b D0, D4
0000073C 4880 ext.w D0
0000073E 4EB9 0000 0466 jsr [0x00000466]
00000744 002C 0045 0067 ori.b [A4 + 0x67], 0x45 /* 'E' */
0000074A 0004 0045 ori.b D4, 0x45 /* 'E' */
0000074E 0012 0047 ori.b [A2], 0x47 /* 'G' */
00000752 0012 0065 ori.b [A2], 0x65 /* 'e' */
00000756 000A 0066 ori.b A2, 0x66 /* 'f' */
0000075A 0010 0067 ori.b [A0], 0x67 /* 'g' */
0000075E 0006 526F ori.b D6, 0x6F /* 'o' */
00000762 013E btst <<invalid special address>>, D0
00000764 422F 013C clr.b [A7 + 0x13C]
00000768 6006 bra +0x8 /* 00000770 */
0000076A 1F7C 0001 013C move.b [A7 + 0x13C], 0x1
label00000770:
00000770 F217 .extension 0x217 // unimplemented
00000772 4800 nbcd.b D0
00000774 F22F .extension 0x22F // unimplemented
00000776 6800 000C bvc +0xE /* 00000784 */
0000077A 486F 0018 pea.l [A7 + 0x18]
0000077E 486F 0010 pea.l [A7 + 0x10]
00000782 4EB9 0000 452A jsr [0x0000452A]
// begin alternate branch 00000784-00000788
label00000784:
00000784 0000 452A ori.b D0, 0x2A /* '*' */
// end alternate branch 00000784-00000788
label00000784: // (misaligned)
00000788 486F 0144 pea.l [A7 + 0x144]
0000078C 486F 0024 pea.l [A7 + 0x24]
00000790 486F 0032 pea.l [A7 + 0x32]
00000794 3F3C 000B move.w -[A7], 0xB
00000798 A9EB syscall Pack4/FP68K
0000079A 422F 002A clr.b [A7 + 0x2A]
0000079E 486F 0144 pea.l [A7 + 0x144]
000007A2 486F 002E pea.l [A7 + 0x2E]
000007A6 486F 004C pea.l [A7 + 0x4C]
000007AA 3F3C 0003 move.w -[A7], 0x3
000007AE A9EE syscall Pack7/DecStr68K
000007B0 0C04 0067 cmpi.b D4, 0x67 /* 'g' */
000007B4 504F addq.w A7, 8
000007B6 6708 beq +0xA /* 000007C0 */
000007B8 0C04 0047 cmpi.b D4, 0x47 /* 'G' */
000007BC 6600 00A4 bne +0xA6 /* 00000862 */
label000007C0:
000007C0 7A00 moveq.l D5, 0x00
000007C2 7E01 moveq.l D7, 0x01
000007C4 7000 moveq.l D0, 0x00
000007C6 102F 003C move.b D0, [A7 + 0x3C]
000007CA 49EF 003C lea.l A4, [A7 + 0x3C]
000007CE D8C0 add.w A4, D0
000007D0 6016 bra +0x18 /* 000007E8 */
label000007D2:
000007D2 1014 move.b D0, [A4]
000007D4 4880 ext.w D0
000007D6 0640 FFD0 addi.w D0, 0xFFD0
000007DA C1C7 muls.w D0, D7
000007DC D045 add.w D0, D5
000007DE DA40 add.w D5, D0
000007E0 538C subq.l A4, 1
000007E2 48C7 ext.l D7
000007E4 CFFC 000A muls.w D7, 0xA /* '\n' */
label000007E8:
000007E8 0C14 0065 cmpi.b [A4], 0x65 /* 'e' */
000007EC 670C beq +0xE /* 000007FA */
000007EE 0C14 002B cmpi.b [A4], 0x2B /* '+' */
000007F2 6706 beq +0x8 /* 000007FA */
000007F4 0C14 002D cmpi.b [A4], 0x2D /* '-' */
000007F8 66D8 bne -0x26 /* 000007D2 */
label000007FA:
000007FA 0C14 002D cmpi.b [A4], 0x2D /* '-' */
000007FE 6602 bne +0x4 /* 00000802 */
00000800 4445 neg.w D5
label00000802:
00000802 0C45 FFFC cmpi.w D5, 0xFFFC
00000806 6D5A blt +0x5C /* 00000862 */
00000808 BA6A 0024 cmp.w D5, [A2 + 0x24]
0000080C 6C54 bge +0x56 /* 00000862 */
0000080E 1F7C 0001 013C move.b [A7 + 0x13C], 0x1
00000814 302A 0024 move.w D0, [A2 + 0x24]
00000818 9045 sub.w D0, D5
0000081A 5340 subq.w D0, 1
0000081C 3F40 013E move.w [A7 + 0x13E], D0
00000820 F217 .extension 0x217 // unimplemented
00000822 4800 nbcd.b D0
00000824 F22F .extension 0x22F // unimplemented
00000826 6800 000C bvc +0xE /* 00000834 */
0000082A 486F 0018 pea.l [A7 + 0x18]
0000082E 486F 0010 pea.l [A7 + 0x10]
00000832 4EB9 0000 452A jsr [0x0000452A]
// begin alternate branch 00000834-00000838
label00000834:
00000834 0000 452A ori.b D0, 0x2A /* '*' */
// end alternate branch 00000834-00000838
label00000834: // (misaligned)
00000838 486F 0144 pea.l [A7 + 0x144]
0000083C 486F 0024 pea.l [A7 + 0x24]
00000840 486F 0032 pea.l [A7 + 0x32]
00000844 3F3C 000B move.w -[A7], 0xB
00000848 A9EB syscall Pack4/FP68K
0000084A 422F 002A clr.b [A7 + 0x2A]
0000084E 486F 0144 pea.l [A7 + 0x144]
00000852 486F 002E pea.l [A7 + 0x2E]
00000856 486F 004C pea.l [A7 + 0x4C]
0000085A 3F3C 0003 move.w -[A7], 0x3
0000085E A9EE syscall Pack7/DecStr68K
00000860 504F addq.w A7, 8
label00000862:
00000862 0C2F 0020 003D cmpi.b [A7 + 0x3D], 0x20 /* ' ' */
00000868 57C0 seq D0
0000086A 4400 neg.b D0
0000086C 4880 ext.w D0
0000086E 5240 addq.w D0, 1
00000870 3A00 move.w D5, D0
00000872 6000 009C bra +0x9E /* 00000910 */
label00000876:
00000876 41EF 003C lea.l A0, [A7 + 0x3C]
0000087A 0C30 0065 5000 cmpi.b [A0 + D5.w], 0x65 /* 'e' */
00000880 6714 beq +0x16 /* 00000896 */
00000882 0C30 002E 5000 cmpi.b [A0 + D5.w], 0x2E /* '.' */
00000888 6602 bne +0x4 /* 0000088C */
0000088A 7C01 moveq.l D6, 0x01
label0000088C:
0000088C 41EF 003C lea.l A0, [A7 + 0x3C]
00000890 16F0 5000 move.b [A3]+, [A0 + D5.w]
00000894 6076 bra +0x78 /* 0000090C */
label00000896:
00000896 302A 002A move.w D0, [A2 + 0x2A]
0000089A 0240 0008 andi.w D0, 0x8
0000089E 6626 bne +0x28 /* 000008C6 */
000008A0 0C04 0047 cmpi.b D4, 0x47 /* 'G' */
000008A4 670C beq +0xE /* 000008B2 */
000008A6 0C04 0067 cmpi.b D4, 0x67 /* 'g' */
000008AA 661A bne +0x1C /* 000008C6 */
000008AC 6004 bra +0x6 /* 000008B2 */
label000008AE:
000008AE 538B subq.l A3, 1
000008B0 5343 subq.w D3, 1
label000008B2:
000008B2 0C2B 0030 FFFF cmpi.b [A3 - 0x1], 0x30 /* '0' */
000008B8 67F4 beq -0xA /* 000008AE */
000008BA 0C2B 002E FFFF cmpi.b [A3 - 0x1], 0x2E /* '.' */
000008C0 6604 bne +0x6 /* 000008C6 */
000008C2 538B subq.l A3, 1
000008C4 5343 subq.w D3, 1
label000008C6:
000008C6 4A6A 0024 tst.w [A2 + 0x24]
000008CA 6610 bne +0x12 /* 000008DC */
000008CC 302A 002A move.w D0, [A2 + 0x2A]
000008D0 0240 0008 andi.w D0, 0x8
000008D4 6706 beq +0x8 /* 000008DC */
000008D6 16FC 002E move.b [A3]+, 0x2E /* '.' */
000008DA 5243 addq.w D3, 1
label000008DC:
000008DC 0C04 0047 cmpi.b D4, 0x47 /* 'G' */
000008E0 670A beq +0xC /* 000008EC */
000008E2 0C04 0045 cmpi.b D4, 0x45 /* 'E' */
000008E6 6704 beq +0x6 /* 000008EC */
000008E8 7065 moveq.l D0, 0x65
000008EA 6002 bra +0x4 /* 000008EE */
label000008EC:
000008EC 7045 moveq.l D0, 0x45
label000008EE:
000008EE 16C0 move.b [A3]+, D0
000008F0 7000 moveq.l D0, 0x00
000008F2 102F 003C move.b D0, [A7 + 0x3C]
000008F6 9045 sub.w D0, D5
000008F8 5540 subq.w D0, 2
000008FA 6610 bne +0x12 /* 0000090C */
000008FC 5245 addq.w D5, 1
000008FE 41EF 003C lea.l A0, [A7 + 0x3C]
00000902 16F0 5000 move.b [A3]+, [A0 + D5.w]
00000906 16FC 0030 move.b [A3]+, 0x30 /* '0' */
0000090A 5443 addq.w D3, 2
label0000090C:
0000090C 5243 addq.w D3, 1
0000090E 5245 addq.w D5, 1
label00000910:
00000910 7000 moveq.l D0, 0x00
00000912 102F 003C move.b D0, [A7 + 0x3C]
00000916 BA40 cmp.w D5, D0
00000918 6F00 FF5C ble -0xA2 /* 00000876 */
0000091C 302A 002A move.w D0, [A2 + 0x2A]
00000920 0240 0008 andi.w D0, 0x8
00000924 6648 bne +0x4A /* 0000096E */
00000926 0C04 0047 cmpi.b D4, 0x47 /* 'G' */
0000092A 6706 beq +0x8 /* 00000932 */
0000092C 0C04 0067 cmpi.b D4, 0x67 /* 'g' */
00000930 663C bne +0x3E /* 0000096E */
label00000932:
00000932 0C2F 0001 013C cmpi.b [A7 + 0x13C], 0x1
00000938 6634 bne +0x36 /* 0000096E */
0000093A 4A46 tst.w D6
0000093C 6730 beq +0x32 /* 0000096E */
0000093E 0C2B 002E FFFF cmpi.b [A3 - 0x1], 0x2E /* '.' */
00000944 6606 bne +0x8 /* 0000094C */
00000946 538B subq.l A3, 1
00000948 5343 subq.w D3, 1
0000094A 6022 bra +0x24 /* 0000096E */
label0000094C:
0000094C 0C2B 0030 FFFF cmpi.b [A3 - 0x1], 0x30 /* '0' */
00000952 661A bne +0x1C /* 0000096E */
00000954 6004 bra +0x6 /* 0000095A */
label00000956:
00000956 538B subq.l A3, 1
00000958 5343 subq.w D3, 1
label0000095A:
0000095A 0C2B 0030 FFFF cmpi.b [A3 - 0x1], 0x30 /* '0' */
00000960 67F4 beq -0xA /* 00000956 */
00000962 0C2B 002E FFFF cmpi.b [A3 - 0x1], 0x2E /* '.' */
00000968 6604 bne +0x6 /* 0000096E */
0000096A 538B subq.l A3, 1
0000096C 5343 subq.w D3, 1
label0000096E:
0000096E 4A6A 0024 tst.w [A2 + 0x24]
00000972 6708 beq +0xA /* 0000097C */
00000974 0C6A 0001 0024 cmpi.w [A2 + 0x24], 0x1
0000097A 661C bne +0x1E /* 00000998 */
label0000097C:
0000097C 302A 002A move.w D0, [A2 + 0x2A]
00000980 0240 0008 andi.w D0, 0x8
00000984 6712 beq +0x14 /* 00000998 */
00000986 0C2F 0001 013C cmpi.b [A7 + 0x13C], 0x1
0000098C 660A bne +0xC /* 00000998 */
0000098E 4A46 tst.w D6
00000990 6606 bne +0x8 /* 00000998 */
00000992 16FC 002E move.b [A3]+, 0x2E /* '.' */
00000996 5243 addq.w D3, 1
label00000998:
00000998 3543 001C move.w [A2 + 0x1C], D3
0000099C 206A 0014 movea.l A0, [A2 + 0x14]
000009A0 4230 3000 clr.b [A0 + D3.w]
000009A4 302A 002A move.w D0, [A2 + 0x2A]
000009A8 0240 0014 andi.w D0, 0x14
000009AC 0C40 0010 cmpi.w D0, 0x10
000009B0 6618 bne +0x1A /* 000009CA */
000009B2 302A 0028 move.w D0, [A2 + 0x28]
000009B6 9043 sub.w D0, D3
000009B8 906A 0018 sub.w D0, [A2 + 0x18]
000009BC 3540 001A move.w [A2 + 0x1A], D0
000009C0 4A6A 001A tst.w [A2 + 0x1A]
000009C4 6C04 bge +0x6 /* 000009CA */
000009C6 426A 001A clr.w [A2 + 0x1A]
label000009CA:
000009CA 4FEF 0140 lea.l A7, [A7 + 0x140]
000009CE 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000009D2 4E75 rts
000009D4 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
000009D8 4FEF FFD8 lea.l A7, [A7 - 0x28]
000009DC 246F 0044 movea.l A2, [A7 + 0x44]
000009E0 1C2F 0048 move.b D6, [A7 + 0x48]
000009E4 0C06 0058 cmpi.b D6, 0x58 /* 'X' */
000009E8 6706 beq +0x8 /* 000009F0 */
000009EA 41ED FC76 lea.l A0, [A5 - 0x38A]
000009EE 6004 bra +0x6 /* 000009F4 */
label000009F0:
000009F0 41ED FC88 lea.l A0, [A5 - 0x378]
label000009F4:
000009F4 2648 movea.l A3, A0
000009F6 0C06 006F cmpi.b D6, 0x6F /* 'o' */
000009FA 6714 beq +0x16 /* 00000A10 */
000009FC 0C06 0078 cmpi.b D6, 0x78 /* 'x' */
00000A00 6706 beq +0x8 /* 00000A08 */
00000A02 0C06 0058 cmpi.b D6, 0x58 /* 'X' */
00000A06 6604 bne +0x6 /* 00000A0C */
label00000A08:
00000A08 7010 moveq.l D0, 0x10
00000A0A 6002 bra +0x4 /* 00000A0E */
label00000A0C:
00000A0C 700A moveq.l D0, 0x0A
label00000A0E:
00000A0E 6002 bra +0x4 /* 00000A12 */
label00000A10:
00000A10 7008 moveq.l D0, 0x08
label00000A12:
00000A12 3800 move.w D4, D0
00000A14 7618 moveq.l D3, 0x18
00000A16 2A12 move.l D5, [A2]
00000A18 0C06 0064 cmpi.b D6, 0x64 /* 'd' */
00000A1C 6706 beq +0x8 /* 00000A24 */
00000A1E 0C06 0069 cmpi.b D6, 0x69 /* 'i' */
00000A22 6606 bne +0x8 /* 00000A2A */
label00000A24:
00000A24 4A92 tst.l [A2]
00000A26 6C02 bge +0x4 /* 00000A2A */
00000A28 4485 neg.l D5
label00000A2A:
00000A2A 4A85 tst.l D5
00000A2C 660C bne +0xE /* 00000A3A */
00000A2E 4A6A 0024 tst.w [A2 + 0x24]
00000A32 6606 bne +0x8 /* 00000A3A */
00000A34 0C44 0008 cmpi.w D4, 0x8
00000A38 6616 bne +0x18 /* 00000A50 */
label00000A3A:
00000A3A 3044 movea.w A0, D4
00000A3C 2005 move.l D0, D5
00000A3E 2408 move.l D2, A0
00000A40 4C42 0001 movem.l D0, D2
00000A44 5343 subq.w D3, 1
00000A46 41EF 0010 lea.l A0, [A7 + 0x10]
00000A4A 11B3 1800 3000 move.b [A0 + D3.w], [A3 + D1]
label00000A50:
00000A50 3044 movea.w A0, D4
00000A52 2005 move.l D0, D5
00000A54 2208 move.l D1, A0
00000A56 4C41 0000 movem.l <none>, D1
00000A5A 2480 move.l [A2], D0
00000A5C 6034 bra +0x36 /* 00000A92 */
label00000A5E:
00000A5E 3044 movea.w A0, D4
00000A60 2F08 move.l -[A7], A0
00000A62 2F12 move.l -[A7], [A2]
00000A64 486F 0008 pea.l [A7 + 0x8]
00000A68 4EB9 0000 1526 jsr [0x00001526]
00000A6E 2F6F 000C 0014 move.l [A7 + 0x14], [A7 + 0xC]
00000A74 2F6F 0010 0018 move.l [A7 + 0x18], [A7 + 0x10]
00000A7A 24AF 0014 move.l [A2], [A7 + 0x14]
00000A7E 202F 0018 move.l D0, [A7 + 0x18]
00000A82 5343 subq.w D3, 1
00000A84 41EF 001C lea.l A0, [A7 + 0x1C]
00000A88 11B3 0800 3000 move.b [A0 + D3.w], [A3 + D0]
00000A8E 4FEF 000C lea.l A7, [A7 + 0xC]
label00000A92:
00000A92 4A92 tst.l [A2]
00000A94 6F04 ble +0x6 /* 00000A9A */
00000A96 4A43 tst.w D3
00000A98 6EC4 bgt -0x3A /* 00000A5E */
label00000A9A:
00000A9A 0C44 0008 cmpi.w D4, 0x8
00000A9E 661C bne +0x1E /* 00000ABC */
00000AA0 082A 0003 002B btst.b [A2 + 0x2B], 0x3
00000AA6 6714 beq +0x16 /* 00000ABC */
00000AA8 41EF 0010 lea.l A0, [A7 + 0x10]
00000AAC 0C30 0030 3000 cmpi.b [A0 + D3.w], 0x30 /* '0' */
00000AB2 6708 beq +0xA /* 00000ABC */
00000AB4 5343 subq.w D3, 1
00000AB6 11BC 0030 3000 move.b [A0 + D3.w], 0x30 /* '0' */
label00000ABC:
00000ABC 3043 movea.w A0, D3
00000ABE 7018 moveq.l D0, 0x18
00000AC0 9088 sub.l D0, A0
00000AC2 3540 001C move.w [A2 + 0x1C], D0
00000AC6 306A 001C movea.w A0, [A2 + 0x1C]
00000ACA 2F08 move.l -[A7], A0
00000ACC 41EF 0014 lea.l A0, [A7 + 0x14]
00000AD0 4870 3000 pea.l [A0 + D3.w]
00000AD4 2F2A 0014 move.l -[A7], [A2 + 0x14]
00000AD8 4EB9 0000 188A jsr [0x0000188A]
00000ADE 302A 001C move.w D0, [A2 + 0x1C]
00000AE2 B06A 0024 cmp.w D0, [A2 + 0x24]
00000AE6 4FEF 000C lea.l A7, [A7 + 0xC]
00000AEA 6C14 bge +0x16 /* 00000B00 */
00000AEC 302A 0024 move.w D0, [A2 + 0x24]
00000AF0 906A 001C sub.w D0, [A2 + 0x1C]
00000AF4 3540 001A move.w [A2 + 0x1A], D0
00000AF8 026A FFEF 002A andi.w [A2 + 0x2A], 0xFFEF
00000AFE 602E bra +0x30 /* 00000B2E */
label00000B00:
00000B00 4A6A 0024 tst.w [A2 + 0x24]
00000B04 6C28 bge +0x2A /* 00000B2E */
00000B06 302A 002A move.w D0, [A2 + 0x2A]
00000B0A 0240 0014 andi.w D0, 0x14
00000B0E 0C40 0010 cmpi.w D0, 0x10
00000B12 661A bne +0x1C /* 00000B2E */
00000B14 302A 0028 move.w D0, [A2 + 0x28]
00000B18 906A 0018 sub.w D0, [A2 + 0x18]
00000B1C 906A 001A sub.w D0, [A2 + 0x1A]
00000B20 906A 001C sub.w D0, [A2 + 0x1C]
00000B24 3600 move.w D3, D0
00000B26 4A40 tst.w D0
00000B28 6F04 ble +0x6 /* 00000B2E */
00000B2A 3543 001A move.w [A2 + 0x1A], D3
label00000B2E:
00000B2E 4FEF 0028 lea.l A7, [A7 + 0x28]
00000B32 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00000B36 4E75 rts
00000B38 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00000B3C 4FEF FF8E lea.l A7, [A7 - 0x72]
00000B40 246F 008E movea.l A2, [A7 + 0x8E]
00000B44 3F6D E04C 0040 move.w [A7 + 0x40], [A5 - 0x1FB4]
00000B4A 2F6F 0086 0050 move.l [A7 + 0x50], [A7 + 0x86]
00000B50 2F6F 008A 0054 move.l [A7 + 0x54], [A7 + 0x8A]
00000B56 426F 006A clr.w [A7 + 0x6A]
label00000B5A:
00000B5A 422F 0043 clr.b [A7 + 0x43]
00000B5E 486F 0040 pea.l [A7 + 0x40]
00000B62 4878 7FFF push.l 0x7FFF
00000B66 2F0A move.l -[A7], A2
00000B68 486F 004F pea.l [A7 + 0x4F]
00000B6C 4EB9 0000 1686 jsr [0x00001686]
00000B72 3600 move.w D3, D0
00000B74 4A40 tst.w D0
00000B76 4FEF 0010 lea.l A7, [A7 + 0x10]
00000B7A 6E0C bgt +0xE /* 00000B88 */
00000B7C 2F0A move.l -[A7], A2
00000B7E 4EB9 0000 1986 jsr [0x00001986]
00000B84 3600 move.w D3, D0
00000B86 584F addq.w A7, 4
label00000B88:
00000B88 0C2F 0025 0043 cmpi.b [A7 + 0x43], 0x25 /* '%' */
00000B8E 6704 beq +0x6 /* 00000B94 */
00000B90 3003 move.w D0, D3
00000B92 6004 bra +0x6 /* 00000B98 */
label00000B94:
00000B94 3003 move.w D0, D3
00000B96 5340 subq.w D0, 1
label00000B98:
00000B98 3800 move.w D4, D0
00000B9A 4A40 tst.w D0
00000B9C 6F26 ble +0x28 /* 00000BC4 */
00000B9E 3044 movea.w A0, D4
00000BA0 2F08 move.l -[A7], A0
00000BA2 2F0A move.l -[A7], A2
00000BA4 2F2F 005C move.l -[A7], [A7 + 0x5C]
00000BA8 206F 005C movea.l A0, [A7 + 0x5C]
00000BAC 4E90 jsr [A0]
00000BAE 2F48 0060 move.l [A7 + 0x60], A0
00000BB2 2008 move.l D0, A0
00000BB4 4FEF 000C lea.l A7, [A7 + 0xC]
00000BB8 6606 bne +0x8 /* 00000BC0 */
00000BBA 70FF moveq.l D0, 0xFFFFFFFF
00000BBC 6000 0186 bra +0x188 /* 00000D44 */
label00000BC0:
00000BC0 D96F 006A add.w [A7 + 0x6A], D4
label00000BC4:
00000BC4 3043 movea.w A0, D3
00000BC6 D5C8 add.l A2, A0
00000BC8 0C2F 0025 0043 cmpi.b [A7 + 0x43], 0x25 /* '%' */
00000BCE 670E beq +0x10 /* 00000BDE */
00000BD0 4A2F 0043 tst.b [A7 + 0x43]
00000BD4 6684 bne -0x7A /* 00000B5A */
00000BD6 302F 006A move.w D0, [A7 + 0x6A]
00000BDA 6000 0168 bra +0x16A /* 00000D44 */
label00000BDE:
00000BDE 426F 0066 clr.w [A7 + 0x66]
00000BE2 426F 0064 clr.w [A7 + 0x64]
00000BE6 426F 0062 clr.w [A7 + 0x62]
00000BEA 426F 0060 clr.w [A7 + 0x60]
00000BEE 426F 005E clr.w [A7 + 0x5E]
00000BF2 426F 005C clr.w [A7 + 0x5C]
00000BF6 426F 006E clr.w [A7 + 0x6E]
00000BFA 6016 bra +0x18 /* 00000C12 */
label00000BFC:
00000BFC 41ED FC9A lea.l A0, [A5 - 0x366]
00000C00 224B movea.l A1, A3
00000C02 93C8 sub.l A1, A0
00000C04 41ED FCA0 lea.l A0, [A5 - 0x360]
00000C08 3030 9A00 move.w D0, [A0 + A1 * 2]
00000C0C 816F 006E or.w [A7 + 0x6E], D0
00000C10 528A addq.l A2, 1
label00000C12:
00000C12 1012 move.b D0, [A2]
00000C14 4880 ext.w D0
00000C16 3F00 move.w -[A7], D0
00000C18 486D FC9A pea.l [A5 - 0x366]
00000C1C 4EB9 0000 1960 jsr [0x00001960]
00000C22 2648 movea.l A3, A0
00000C24 2008 move.l D0, A0
00000C26 5C4F addq.w A7, 6
00000C28 66D2 bne -0x2C /* 00000BFC */
00000C2A 0C12 002A cmpi.b [A2], 0x2A /* '*' */
00000C2E 6628 bne +0x2A /* 00000C58 */
00000C30 54AF 0092 addq.l [A7 + 0x92], 2
00000C34 206F 0092 movea.l A0, [A7 + 0x92]
00000C38 3F68 FFFE 006C move.w [A7 + 0x6C], [A0 - 0x2]
00000C3E 4A6F 006C tst.w [A7 + 0x6C]
00000C42 6C10 bge +0x12 /* 00000C54 */
00000C44 302F 006C move.w D0, [A7 + 0x6C]
00000C48 4440 neg.w D0
00000C4A 3F40 006C move.w [A7 + 0x6C], D0
00000C4E 006F 0004 006E ori.w [A7 + 0x6E], 0x4
label00000C54:
00000C54 528A addq.l A2, 1
00000C56 6036 bra +0x38 /* 00000C8E */
label00000C58:
00000C58 426F 006C clr.w [A7 + 0x6C]
00000C5C 601E bra +0x20 /* 00000C7C */
label00000C5E:
00000C5E 0C6F 7FFF 006C cmpi.w [A7 + 0x6C], 0x7FFF
00000C64 6C14 bge +0x16 /* 00000C7A */
00000C66 1012 move.b D0, [A2]
00000C68 4880 ext.w D0
00000C6A 720A moveq.l D1, 0x0A
00000C6C C3EF 006C muls.w D1, [A7 + 0x6C]
00000C70 D240 add.w D1, D0
00000C72 0641 FFD0 addi.w D1, 0xFFD0
00000C76 3F41 006C move.w [A7 + 0x6C], D1
label00000C7A:
00000C7A 528A addq.l A2, 1
label00000C7C:
00000C7C 1012 move.b D0, [A2]
00000C7E 4880 ext.w D0
00000C80 206D F5BE movea.l A0, [A5 - 0xA42]
00000C84 3030 0200 move.w D0, [A0 + D0.w * 2]
00000C88 0240 0020 andi.w D0, 0x20 /* ' ' */
00000C8C 66D0 bne -0x2E /* 00000C5E */
label00000C8E:
00000C8E 0C12 002E cmpi.b [A2], 0x2E /* '.' */
00000C92 6708 beq +0xA /* 00000C9C */
00000C94 3F7C FFFF 0068 move.w [A7 + 0x68], 0xFFFF
00000C9A 6050 bra +0x52 /* 00000CEC */
label00000C9C:
00000C9C 528A addq.l A2, 1
00000C9E 0C12 002A cmpi.b [A2], 0x2A /* '*' */
00000CA2 6612 bne +0x14 /* 00000CB6 */
00000CA4 54AF 0092 addq.l [A7 + 0x92], 2
00000CA8 206F 0092 movea.l A0, [A7 + 0x92]
00000CAC 3F68 FFFE 0068 move.w [A7 + 0x68], [A0 - 0x2]
00000CB2 528A addq.l A2, 1
00000CB4 6036 bra +0x38 /* 00000CEC */
label00000CB6:
00000CB6 426F 0068 clr.w [A7 + 0x68]
00000CBA 601E bra +0x20 /* 00000CDA */
label00000CBC:
00000CBC 0C6F 7FFF 0068 cmpi.w [A7 + 0x68], 0x7FFF
00000CC2 6C14 bge +0x16 /* 00000CD8 */
00000CC4 1012 move.b D0, [A2]
00000CC6 4880 ext.w D0
00000CC8 720A moveq.l D1, 0x0A
00000CCA C3EF 0068 muls.w D1, [A7 + 0x68]
00000CCE D240 add.w D1, D0
00000CD0 0641 FFD0 addi.w D1, 0xFFD0
00000CD4 3F41 0068 move.w [A7 + 0x68], D1
label00000CD8:
00000CD8 528A addq.l A2, 1
label00000CDA:
00000CDA 1012 move.b D0, [A2]
00000CDC 4880 ext.w D0
00000CDE 206D F5BE movea.l A0, [A5 - 0xA42]
00000CE2 3030 0200 move.w D0, [A0 + D0.w * 2]
00000CE6 0240 0020 andi.w D0, 0x20 /* ' ' */
00000CEA 66D0 bne -0x2E /* 00000CBC */
label00000CEC:
00000CEC 1012 move.b D0, [A2]
00000CEE 4880 ext.w D0
00000CF0 3F00 move.w -[A7], D0
00000CF2 486D FCAC pea.l [A5 - 0x354]
00000CF6 4EB9 0000 1960 jsr [0x00001960]
00000CFC 2008 move.l D0, A0
00000CFE 5C4F addq.w A7, 6
00000D00 6606 bne +0x8 /* 00000D08 */
00000D02 2E80 move.l [A7], D0
00000D04 7000 moveq.l D0, 0x00
00000D06 6004 bra +0x6 /* 00000D0C */
label00000D08:
00000D08 101A move.b D0, [A2]+
00000D0A 4880 ext.w D0
label00000D0C:
00000D0C 1F40 0070 move.b [A7 + 0x70], D0
00000D10 486F 0004 pea.l [A7 + 0x4]
00000D14 1F1A move.b -[A7], [A2]+
00000D16 486F 0098 pea.l [A7 + 0x98]
00000D1A 486F 004E pea.l [A7 + 0x4E]
00000D1E 4EB9 0000 0D52 jsr [0x00000D52]
00000D24 4A40 tst.w D0
00000D26 4FEF 000E lea.l A7, [A7 + 0xE]
00000D2A 6616 bne +0x18 /* 00000D42 */
00000D2C 486F 0004 pea.l [A7 + 0x4]
00000D30 486F 0048 pea.l [A7 + 0x48]
00000D34 4EB9 0000 11FE jsr [0x000011FE]
00000D3A 4A40 tst.w D0
00000D3C 504F addq.w A7, 8
00000D3E 6C00 FE1A bge -0x1E4 /* 00000B5A */
label00000D42:
00000D42 70FF moveq.l D0, 0xFFFFFFFF
label00000D44:
00000D44 4FEF 0072 lea.l A7, [A7 + 0x72]
00000D48 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00000D4C 4E75 rts
00000D4E 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00000D52 554F subq.w A7, 2
00000D54 246F 001A movea.l A2, [A7 + 0x1A]
00000D58 286F 001E movea.l A4, [A7 + 0x1E]
00000D5C 162F 0022 move.b D3, [A7 + 0x22]
00000D60 266F 0024 movea.l A3, [A7 + 0x24]
00000D64 1003 move.b D0, D3
00000D66 4880 ext.w D0
00000D68 4EB9 0000 0466 jsr [0x00000466]
00000D6E 035E bchg [A6]+, D1
00000D70 0025 0078 ori.b -[A5], 0x78 /* 'x' */
00000D74 000F 0025 ori.b A7, 0x25 /* '%' */
00000D78 0344 bchg D4, D1
00000D7A 0045 019C ori.w D5, 0x19C
00000D7E 0047 0198 ori.w D7, 0x198
00000D82 0058 0108 ori.w [A0]+, 0x108
00000D86 0063 002E ori.w -[A3], 0x2E /* '.' */
00000D8A 0064 0074 ori.w -[A4], 0x74 /* 't' */
00000D8E 0065 0188 ori.w -[A5], 0x188
00000D92 0066 0184 ori.w -[A6], 0x184
00000D96 0067 0180 ori.w -[A7], 0x180
00000D9A 0069 0064 006E ori.w [A1 + 0x6E], 0x64 /* 'd' */
00000DA0 0200 006F andi.b D0, 0x6F /* 'o' */
00000DA4 00E8 0070 ori.? [A0 + 0x70], 0xFFFFFFFFFFFFFFFF
00000DA8 023A 0073 025A andi.b [PC + 0x25A /* 00001004, value 0x0 */], 0x73 /* 's' */
00000DAE 0075 00DC 0078 ori.w [A5 + D0.w + 0x78], 0xDC
00000DB4 00D8 ori.? [A0]+, 0xFFFFFFFFFFFFFFFF
00000DB6 0C2A 006C 002C cmpi.b [A2 + 0x2C], 0x6C /* 'l' */
00000DBC 6716 beq +0x18 /* 00000DD4 */
00000DBE 5494 addq.l [A4], 2
00000DC0 2054 movea.l A0, [A4]
00000DC2 302A 0018 move.w D0, [A2 + 0x18]
00000DC6 526A 0018 addq.w [A2 + 0x18], 1
00000DCA 17A8 FFFF 0000 move.b [A3 + D0.w], [A0 - 0x1]
00000DD0 6000 0312 bra +0x314 /* 000010E4 */
label00000DD4:
00000DD4 5494 addq.l [A4], 2
00000DD6 2054 movea.l A0, [A4]
00000DD8 3628 FFFE move.w D3, [A0 - 0x2]
00000DDC 1E83 move.b [A7], D3
00000DDE 422F 0001 clr.b [A7 + 0x1]
00000DE2 357C FFFF 0024 move.w [A2 + 0x24], 0xFFFF
00000DE8 4857 pea.l [A7]
00000DEA 2F0A move.l -[A7], A2
00000DEC 4EB9 0000 10F2 jsr [0x000010F2]
00000DF2 4A40 tst.w D0
00000DF4 504F addq.w A7, 8
00000DF6 6C00 02EC bge +0x2EE /* 000010E4 */
00000DFA 70FF moveq.l D0, 0xFFFFFFFF
00000DFC 6000 02E8 bra +0x2EA /* 000010E6 */
00000E00 0C2A 006C 002C cmpi.b [A2 + 0x2C], 0x6C /* 'l' */
00000E06 670C beq +0xE /* 00000E14 */
00000E08 5494 addq.l [A4], 2
00000E0A 2054 movea.l A0, [A4]
00000E0C 3268 FFFE movea.w A1, [A0 - 0x2]
00000E10 2009 move.l D0, A1
00000E12 6008 bra +0xA /* 00000E1C */
label00000E14:
00000E14 5894 addq.l [A4], 4
00000E16 2054 movea.l A0, [A4]
00000E18 2028 FFFC move.l D0, [A0 - 0x4]
label00000E1C:
00000E1C 2480 move.l [A2], D0
00000E1E 0C2A 0068 002C cmpi.b [A2 + 0x2C], 0x68 /* 'h' */
00000E24 6606 bne +0x8 /* 00000E2C */
00000E26 306A 0002 movea.w A0, [A2 + 0x2]
00000E2A 2488 move.l [A2], A0
label00000E2C:
00000E2C 4A92 tst.l [A2]
00000E2E 6C10 bge +0x12 /* 00000E40 */
00000E30 302A 0018 move.w D0, [A2 + 0x18]
00000E34 526A 0018 addq.w [A2 + 0x18], 1
00000E38 17BC 002D 0000 move.b [A3 + D0.w], 0x2D /* '-' */
00000E3E 6032 bra +0x34 /* 00000E72 */
label00000E40:
00000E40 302A 002A move.w D0, [A2 + 0x2A]
00000E44 0240 0002 andi.w D0, 0x2
00000E48 6710 beq +0x12 /* 00000E5A */
00000E4A 302A 0018 move.w D0, [A2 + 0x18]
00000E4E 526A 0018 addq.w [A2 + 0x18], 1
00000E52 17BC 002B 0000 move.b [A3 + D0.w], 0x2B /* '+' */
00000E58 6018 bra +0x1A /* 00000E72 */
label00000E5A:
00000E5A 302A 002A move.w D0, [A2 + 0x2A]
00000E5E 0240 0001 andi.w D0, 0x1
00000E62 670E beq +0x10 /* 00000E72 */
00000E64 302A 0018 move.w D0, [A2 + 0x18]
00000E68 526A 0018 addq.w [A2 + 0x18], 1
00000E6C 17BC 0020 0000 move.b [A3 + D0.w], 0x20 /* ' ' */
label00000E72:
00000E72 204B movea.l A0, A3
00000E74 D0EA 0018 add.w A0, [A2 + 0x18]
00000E78 2548 0014 move.l [A2 + 0x14], A0
00000E7C 1F03 move.b -[A7], D3
00000E7E 2F0A move.l -[A7], A2
00000E80 4EB9 0000 09D8 jsr [0x000009D8]
00000E86 5C4F addq.w A7, 6
00000E88 6000 025A bra +0x25C /* 000010E4 */
00000E8C 0C2A 006C 002C cmpi.b [A2 + 0x2C], 0x6C /* 'l' */
00000E92 670C beq +0xE /* 00000EA0 */
00000E94 5494 addq.l [A4], 2
00000E96 2054 movea.l A0, [A4]
00000E98 3268 FFFE movea.w A1, [A0 - 0x2]
00000E9C 2009 move.l D0, A1
00000E9E 6008 bra +0xA /* 00000EA8 */
label00000EA0:
00000EA0 5894 addq.l [A4], 4
00000EA2 2054 movea.l A0, [A4]
00000EA4 2028 FFFC move.l D0, [A0 - 0x4]
label00000EA8:
00000EA8 2480 move.l [A2], D0
00000EAA 0C2A 0068 002C cmpi.b [A2 + 0x2C], 0x68 /* 'h' */
00000EB0 660A bne +0xC /* 00000EBC */
00000EB2 7000 moveq.l D0, 0x00
00000EB4 302A 0002 move.w D0, [A2 + 0x2]
00000EB8 2480 move.l [A2], D0
00000EBA 600E bra +0x10 /* 00000ECA */
label00000EBC:
00000EBC 4A2A 002C tst.b [A2 + 0x2C]
00000EC0 6608 bne +0xA /* 00000ECA */
00000EC2 7000 moveq.l D0, 0x00
00000EC4 302A 0002 move.w D0, [A2 + 0x2]
00000EC8 2480 move.l [A2], D0
label00000ECA:
00000ECA 302A 002A move.w D0, [A2 + 0x2A]
00000ECE 0240 0008 andi.w D0, 0x8
00000ED2 672A beq +0x2C /* 00000EFE */
00000ED4 4A92 tst.l [A2]
00000ED6 6726 beq +0x28 /* 00000EFE */
00000ED8 0C03 0078 cmpi.b D3, 0x78 /* 'x' */
00000EDC 6706 beq +0x8 /* 00000EE4 */
00000EDE 0C03 0058 cmpi.b D3, 0x58 /* 'X' */
00000EE2 661A bne +0x1C /* 00000EFE */
label00000EE4:
00000EE4 302A 0018 move.w D0, [A2 + 0x18]
00000EE8 526A 0018 addq.w [A2 + 0x18], 1
00000EEC 17BC 0030 0000 move.b [A3 + D0.w], 0x30 /* '0' */
00000EF2 302A 0018 move.w D0, [A2 + 0x18]
00000EF6 526A 0018 addq.w [A2 + 0x18], 1
00000EFA 1783 0000 move.b [A3 + D0.w], D3
label00000EFE:
00000EFE 204B movea.l A0, A3
00000F00 D0EA 0018 add.w A0, [A2 + 0x18]
00000F04 2548 0014 move.l [A2 + 0x14], A0
00000F08 1F03 move.b -[A7], D3
00000F0A 2F0A move.l -[A7], A2
00000F0C 4EB9 0000 09D8 jsr [0x000009D8]
00000F12 5C4F addq.w A7, 6
00000F14 6000 01CE bra +0x1D0 /* 000010E4 */
00000F18 0C2A 004C 002C cmpi.b [A2 + 0x2C], 0x4C /* 'L' */
00000F1E 670C beq +0xE /* 00000F2C */
00000F20 5094 addq.l [A4], 8
00000F22 2054 movea.l A0, [A4]
00000F24 F228 .extension 0x228 // unimplemented
00000F26 5400 addq.b D0, 2
00000F28 FFF8 .extension 0xFF8 // unimplemented
00000F2A 600C bra +0xE /* 00000F38 */
label00000F2C:
00000F2C 700C moveq.l D0, 0x0C
00000F2E D194 add.l [A4], D0
00000F30 2054 movea.l A0, [A4]
00000F32 F228 .extension 0x228 // unimplemented
00000F34 4800 nbcd.b D0
00000F36 FFF4 .extension 0xFF4 // unimplemented
label00000F38:
00000F38 F212 .extension 0x212 // unimplemented
00000F3A 6800 3012 bvc +0x3014 /* 00003F4E */
00000F3E 0240 8000 andi.w D0, 0x8000
00000F42 6710 beq +0x12 /* 00000F54 */
00000F44 302A 0018 move.w D0, [A2 + 0x18]
00000F48 526A 0018 addq.w [A2 + 0x18], 1
00000F4C 17BC 002D 0000 move.b [A3 + D0.w], 0x2D /* '-' */
00000F52 6032 bra +0x34 /* 00000F86 */
label00000F54:
00000F54 302A 002A move.w D0, [A2 + 0x2A]
00000F58 0240 0002 andi.w D0, 0x2
00000F5C 6710 beq +0x12 /* 00000F6E */
00000F5E 302A 0018 move.w D0, [A2 + 0x18]
00000F62 526A 0018 addq.w [A2 + 0x18], 1
00000F66 17BC 002B 0000 move.b [A3 + D0.w], 0x2B /* '+' */
00000F6C 6018 bra +0x1A /* 00000F86 */
label00000F6E:
00000F6E 302A 002A move.w D0, [A2 + 0x2A]
00000F72 0240 0001 andi.w D0, 0x1
00000F76 670E beq +0x10 /* 00000F86 */
00000F78 302A 0018 move.w D0, [A2 + 0x18]
00000F7C 526A 0018 addq.w [A2 + 0x18], 1
00000F80 17BC 0020 0000 move.b [A3 + D0.w], 0x20 /* ' ' */
label00000F86:
00000F86 204B movea.l A0, A3
00000F88 D0EA 0018 add.w A0, [A2 + 0x18]
00000F8C 2548 0014 move.l [A2 + 0x14], A0
00000F90 1F03 move.b -[A7], D3
00000F92 2F0A move.l -[A7], A2
00000F94 4EB9 0000 06F2 jsr [0x000006F2]
00000F9A 5C4F addq.w A7, 6
00000F9C 6000 0146 bra +0x148 /* 000010E4 */
00000FA0 0C2A 0068 002C cmpi.b [A2 + 0x2C], 0x68 /* 'h' */
00000FA6 6610 bne +0x12 /* 00000FB8 */
00000FA8 5894 addq.l [A4], 4
00000FAA 2054 movea.l A0, [A4]
00000FAC 2068 FFFC movea.l A0, [A0 - 0x4]
00000FB0 30AA 0026 move.w [A0], [A2 + 0x26]
00000FB4 6000 012E bra +0x130 /* 000010E4 */
label00000FB8:
00000FB8 0C2A 006C 002C cmpi.b [A2 + 0x2C], 0x6C /* 'l' */
00000FBE 6710 beq +0x12 /* 00000FD0 */
00000FC0 5894 addq.l [A4], 4
00000FC2 2054 movea.l A0, [A4]
00000FC4 2068 FFFC movea.l A0, [A0 - 0x4]
00000FC8 30AA 0026 move.w [A0], [A2 + 0x26]
00000FCC 6000 0116 bra +0x118 /* 000010E4 */
label00000FD0:
00000FD0 306A 0026 movea.w A0, [A2 + 0x26]
00000FD4 5894 addq.l [A4], 4
00000FD6 2254 movea.l A1, [A4]
00000FD8 2269 FFFC movea.l A1, [A1 - 0x4]
00000FDC 2288 move.l [A1], A0
00000FDE 6000 0104 bra +0x106 /* 000010E4 */
00000FE2 5894 addq.l [A4], 4
00000FE4 2054 movea.l A0, [A4]
00000FE6 24A8 FFFC move.l [A2], [A0 - 0x4]
00000FEA 204B movea.l A0, A3
00000FEC D0EA 0018 add.w A0, [A2 + 0x18]
00000FF0 2548 0014 move.l [A2 + 0x14], A0
00000FF4 1F3C 0078 move.b -[A7], 0x78 /* 'x' */
00000FF8 2F0A move.l -[A7], A2
00000FFA 4EB9 0000 09D8 jsr [0x000009D8]
00001000 5C4F addq.w A7, 6
00001002 6000 00E0 bra +0xE2 /* 000010E4 */
00001006 0C2A 006C 002C cmpi.b [A2 + 0x2C], 0x6C /* 'l' */
0000100C 6700 0094 beq +0x96 /* 000010A2 */
00001010 5894 addq.l [A4], 4
00001012 2054 movea.l A0, [A4]
00001014 2568 FFFC 0014 move.l [A2 + 0x14], [A0 - 0x4]
0000101A 302A 002A move.w D0, [A2 + 0x2A]
0000101E 0240 0008 andi.w D0, 0x8
00001022 6738 beq +0x3A /* 0000105C */
00001024 4A6A 0024 tst.w [A2 + 0x24]
00001028 6D1E blt +0x20 /* 00001048 */
0000102A 206A 0014 movea.l A0, [A2 + 0x14]
0000102E 7000 moveq.l D0, 0x00
00001030 1010 move.b D0, [A0]
00001032 B06A 0024 cmp.w D0, [A2 + 0x24]
00001036 6D06 blt +0x8 /* 0000103E */
00001038 302A 0024 move.w D0, [A2 + 0x24]
0000103C 6008 bra +0xA /* 00001046 */
label0000103E:
0000103E 206A 0014 movea.l A0, [A2 + 0x14]
00001042 7000 moveq.l D0, 0x00
00001044 1010 move.b D0, [A0]
label00001046:
00001046 6008 bra +0xA /* 00001050 */
label00001048:
00001048 206A 0014 movea.l A0, [A2 + 0x14]
0000104C 7000 moveq.l D0, 0x00
0000104E 1010 move.b D0, [A0]
label00001050:
00001050 3540 001C move.w [A2 + 0x1C], D0
00001054 52AA 0014 addq.l [A2 + 0x14], 1
00001058 6000 008A bra +0x8C /* 000010E4 */
label0000105C:
0000105C 4A6A 0024 tst.w [A2 + 0x24]
00001060 6D2E blt +0x30 /* 00001090 */
00001062 306A 0024 movea.w A0, [A2 + 0x24]
00001066 2F08 move.l -[A7], A0
00001068 4267 clr.w -[A7]
0000106A 2F2A 0014 move.l -[A7], [A2 + 0x14]
0000106E 4EB9 0000 186A jsr [0x0000186A]
00001074 2C48 movea.l A6, A0
00001076 2008 move.l D0, A0
00001078 4FEF 000A lea.l A7, [A7 + 0xA]
0000107C 6608 bne +0xA /* 00001086 */
0000107E 306A 0024 movea.w A0, [A2 + 0x24]
00001082 2008 move.l D0, A0
00001084 6008 bra +0xA /* 0000108E */
label00001086:
00001086 204E movea.l A0, A6
00001088 91EA 0014 sub.l A0, [A2 + 0x14]
0000108C 2008 move.l D0, A0
label0000108E:
0000108E 600C bra +0xE /* 0000109C */
label00001090:
00001090 2F2A 0014 move.l -[A7], [A2 + 0x14]
00001094 4EB9 0000 1986 jsr [0x00001986]
0000109A 584F addq.w A7, 4
label0000109C:
0000109C 3540 001C move.w [A2 + 0x1C], D0
000010A0 6042 bra +0x44 /* 000010E4 */
label000010A2:
000010A2 5894 addq.l [A4], 4
000010A4 2054 movea.l A0, [A4]
000010A6 2F28 FFFC move.l -[A7], [A0 - 0x4]
000010AA 2F0A move.l -[A7], A2
000010AC 4EB9 0000 10F2 jsr [0x000010F2]
000010B2 4A40 tst.w D0
000010B4 504F addq.w A7, 8
000010B6 6C2C bge +0x2E /* 000010E4 */
000010B8 70FF moveq.l D0, 0xFFFFFFFF
000010BA 602A bra +0x2C /* 000010E6 */
000010BC 302A 0018 move.w D0, [A2 + 0x18]
000010C0 526A 0018 addq.w [A2 + 0x18], 1
000010C4 17BC 0025 0000 move.b [A3 + D0.w], 0x25 /* '%' */
000010CA 6018 bra +0x1A /* 000010E4 */
000010CC 4A03 tst.b D3
000010CE 6604 bne +0x6 /* 000010D4 */
000010D0 7025 moveq.l D0, 0x25
000010D2 6004 bra +0x6 /* 000010D8 */
label000010D4:
000010D4 1003 move.b D0, D3
000010D6 4880 ext.w D0
label000010D8:
000010D8 322A 0018 move.w D1, [A2 + 0x18]
000010DC 526A 0018 addq.w [A2 + 0x18], 1
000010E0 1780 1000 move.b [A3 + D1.w], D0
label000010E4:
000010E4 7000 moveq.l D0, 0x00
label000010E6:
000010E6 544F addq.w A7, 2
000010E8 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
000010EC 4E75 rts
000010EE 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
000010F2 4FEF FFB6 lea.l A7, [A7 - 0x4A]
000010F6 246F 006A movea.l A2, [A7 + 0x6A]
000010FA 286F 006E movea.l A4, [A7 + 0x6E]
000010FE 4A6A 0024 tst.w [A2 + 0x24]
00001102 6D06 blt +0x8 /* 0000110A */
00001104 302A 0024 move.w D0, [A2 + 0x24]
00001108 6004 bra +0x6 /* 0000110E */
label0000110A:
0000110A 303C 7FFF move.w D0, 0x7FFF
label0000110E:
0000110E 3A00 move.w D5, D0
00001110 182D F9CA move.b D4, [A5 - 0x636]
00001114 4884 ext.w D4
00001116 D86A 0028 add.w D4, [A2 + 0x28]
0000111A 48C4 ext.l D4
0000111C 3EAD E04E move.w [A7], [A5 - 0x1FB2]
00001120 302A 002A move.w D0, [A2 + 0x2A]
00001124 0240 0004 andi.w D0, 0x4
00001128 6606 bne +0x8 /* 00001130 */
0000112A 7040 moveq.l D0, 0x40
0000112C B880 cmp.l D4, D0
0000112E 6208 bhi +0xA /* 00001138 */
label00001130:
00001130 47EF 000A lea.l A3, [A7 + 0xA]
00001134 7840 moveq.l D4, 0x40
00001136 6016 bra +0x18 /* 0000114E */
label00001138:
00001138 2F04 move.l -[A7], D4
0000113A 4EB9 0000 15FA jsr [0x000015FA]
00001140 2648 movea.l A3, A0
00001142 2008 move.l D0, A0
00001144 584F addq.w A7, 4
00001146 6606 bne +0x8 /* 0000114E */
00001148 70FF moveq.l D0, 0xFFFFFFFF
0000114A 6000 00A4 bra +0xA6 /* 000011F0 */
label0000114E:
0000114E 7C00 moveq.l D6, 0x00
00001150 6072 bra +0x74 /* 000011C4 */
label00001152:
00001152 4857 pea.l [A7]
00001154 1F14 move.b -[A7], [A4]
00001156 486F 0008 pea.l [A7 + 0x8]
0000115A 4EB9 0000 1772 jsr [0x00001772]
00001160 3600 move.w D3, D0
00001162 4A40 tst.w D0
00001164 4FEF 000A lea.l A7, [A7 + 0xA]
00001168 6E04 bgt +0x6 /* 0000116E */
0000116A 7CFF moveq.l D6, 0xFFFFFFFF
0000116C 605A bra +0x5C /* 000011C8 */
label0000116E:
0000116E 4A14 tst.b [A4]
00001170 6704 beq +0x6 /* 00001176 */
00001172 3003 move.w D0, D3
00001174 6004 bra +0x6 /* 0000117A */
label00001176:
00001176 5343 subq.w D3, 1
00001178 3003 move.w D0, D3
label0000117A:
0000117A BA40 cmp.w D5, D0
0000117C 6D4A blt +0x4C /* 000011C8 */
0000117E 302A 0018 move.w D0, [A2 + 0x18]
00001182 D043 add.w D0, D3
00001184 48C0 ext.l D0
00001186 B880 cmp.l D4, D0
00001188 6414 bcc +0x16 /* 0000119E */
0000118A 426A 0028 clr.w [A2 + 0x28]
0000118E 2F0B move.l -[A7], A3
00001190 2F0A move.l -[A7], A2
00001192 4EB9 0000 11FE jsr [0x000011FE]
00001198 426A 0018 clr.w [A2 + 0x18]
0000119C 504F addq.w A7, 8
label0000119E:
0000119E 3043 movea.w A0, D3
000011A0 2F08 move.l -[A7], A0
000011A2 486F 0006 pea.l [A7 + 0x6]
000011A6 302A 0018 move.w D0, [A2 + 0x18]
000011AA 4873 0000 pea.l [A3 + D0.w]
000011AE 4EB9 0000 188A jsr [0x0000188A]
000011B4 D76A 0018 add.w [A2 + 0x18], D3
000011B8 4A14 tst.b [A4]
000011BA 4FEF 000C lea.l A7, [A7 + 0xC]
000011BE 6708 beq +0xA /* 000011C8 */
000011C0 528C addq.l A4, 1
000011C2 9A43 sub.w D5, D3
label000011C4:
000011C4 4A45 tst.w D5
000011C6 6E8A bgt -0x74 /* 00001152 */
label000011C8:
000011C8 2F0B move.l -[A7], A3
000011CA 2F0A move.l -[A7], A2
000011CC 4EB9 0000 11FE jsr [0x000011FE]
000011D2 426A 0028 clr.w [A2 + 0x28]
000011D6 426A 0018 clr.w [A2 + 0x18]
000011DA 41EF 0012 lea.l A0, [A7 + 0x12]
000011DE B7C8 cmpa.l A3, A0
000011E0 504F addq.w A7, 8
000011E2 670A beq +0xC /* 000011EE */
000011E4 2F0B move.l -[A7], A3
000011E6 4EB9 0000 1476 jsr [0x00001476]
000011EC 584F addq.w A7, 4
label000011EE:
000011EE 3006 move.w D0, D6
label000011F0:
000011F0 4FEF 004A lea.l A7, [A7 + 0x4A]
000011F4 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
000011F8 4E75 rts
000011FA 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
000011FE 246F 0014 movea.l A2, [A7 + 0x14]
00001202 362A 0028 move.w D3, [A2 + 0x28]
00001206 966A 0018 sub.w D3, [A2 + 0x18]
0000120A 966A 001A sub.w D3, [A2 + 0x1A]
0000120E 966A 001C sub.w D3, [A2 + 0x1C]
00001212 966A 001E sub.w D3, [A2 + 0x1E]
00001216 966A 0020 sub.w D3, [A2 + 0x20]
0000121A 966A 0022 sub.w D3, [A2 + 0x22]
0000121E 302A 002A move.w D0, [A2 + 0x2A]
00001222 0240 0004 andi.w D0, 0x4
00001226 664E bne +0x50 /* 00001276 */
00001228 4A43 tst.w D3
0000122A 6F4A ble +0x4C /* 00001276 */
0000122C 3A03 move.w D5, D3
0000122E 6042 bra +0x44 /* 00001272 */
label00001230:
00001230 3045 movea.w A0, D5
00001232 7020 moveq.l D0, 0x20
00001234 B1C0 cmpa.l A0, D0
00001236 6206 bhi +0x8 /* 0000123E */
00001238 3045 movea.w A0, D5
0000123A 2008 move.l D0, A0
0000123C 6002 bra +0x4 /* 00001240 */
label0000123E:
0000123E 7020 moveq.l D0, 0x20
label00001240:
00001240 3800 move.w D4, D0
00001242 4A44 tst.w D4
00001244 6F2A ble +0x2C /* 00001270 */
00001246 3044 movea.w A0, D4
00001248 2F08 move.l -[A7], A0
0000124A 486D FCB0 pea.l [A5 - 0x350]
0000124E 2F2A 0010 move.l -[A7], [A2 + 0x10]
00001252 206A 000C movea.l A0, [A2 + 0xC]
00001256 4E90 jsr [A0]
00001258 2548 0010 move.l [A2 + 0x10], A0
0000125C 2008 move.l D0, A0
0000125E 4FEF 000C lea.l A7, [A7 + 0xC]
00001262 6706 beq +0x8 /* 0000126A */
00001264 D96A 0026 add.w [A2 + 0x26], D4
00001268 6006 bra +0x8 /* 00001270 */
label0000126A:
0000126A 70FF moveq.l D0, 0xFFFFFFFF
0000126C 6000 01FE bra +0x200 /* 0000146C */
label00001270:
00001270 9A44 sub.w D5, D4
label00001272:
00001272 4A45 tst.w D5
00001274 6EBA bgt -0x44 /* 00001230 */
label00001276:
00001276 4A6A 0018 tst.w [A2 + 0x18]
0000127A 6F30 ble +0x32 /* 000012AC */
0000127C 306A 0018 movea.w A0, [A2 + 0x18]
00001280 2F08 move.l -[A7], A0
00001282 2F2F 001C move.l -[A7], [A7 + 0x1C]
00001286 2F2A 0010 move.l -[A7], [A2 + 0x10]
0000128A 206A 000C movea.l A0, [A2 + 0xC]
0000128E 4E90 jsr [A0]
00001290 2548 0010 move.l [A2 + 0x10], A0
00001294 2008 move.l D0, A0
00001296 4FEF 000C lea.l A7, [A7 + 0xC]
0000129A 670A beq +0xC /* 000012A6 */
0000129C 302A 0018 move.w D0, [A2 + 0x18]
000012A0 D16A 0026 add.w [A2 + 0x26], D0
000012A4 6006 bra +0x8 /* 000012AC */
label000012A6:
000012A6 70FF moveq.l D0, 0xFFFFFFFF
000012A8 6000 01C2 bra +0x1C4 /* 0000146C */
label000012AC:
000012AC 4A6A 001A tst.w [A2 + 0x1A]
000012B0 6F4C ble +0x4E /* 000012FE */
000012B2 3A2A 001A move.w D5, [A2 + 0x1A]
000012B6 6042 bra +0x44 /* 000012FA */
label000012B8:
000012B8 3045 movea.w A0, D5
000012BA 7020 moveq.l D0, 0x20
000012BC B1C0 cmpa.l A0, D0
000012BE 6206 bhi +0x8 /* 000012C6 */
000012C0 3045 movea.w A0, D5
000012C2 2008 move.l D0, A0
000012C4 6002 bra +0x4 /* 000012C8 */
label000012C6:
000012C6 7020 moveq.l D0, 0x20
label000012C8:
000012C8 3800 move.w D4, D0
000012CA 4A44 tst.w D4
000012CC 6F2A ble +0x2C /* 000012F8 */
000012CE 3044 movea.w A0, D4
000012D0 2F08 move.l -[A7], A0
000012D2 486D FCD2 pea.l [A5 - 0x32E]
000012D6 2F2A 0010 move.l -[A7], [A2 + 0x10]
000012DA 206A 000C movea.l A0, [A2 + 0xC]
000012DE 4E90 jsr [A0]
000012E0 2548 0010 move.l [A2 + 0x10], A0
000012E4 2008 move.l D0, A0
000012E6 4FEF 000C lea.l A7, [A7 + 0xC]
000012EA 6706 beq +0x8 /* 000012F2 */
000012EC D96A 0026 add.w [A2 + 0x26], D4
000012F0 6006 bra +0x8 /* 000012F8 */
label000012F2:
000012F2 70FF moveq.l D0, 0xFFFFFFFF
000012F4 6000 0176 bra +0x178 /* 0000146C */
label000012F8:
000012F8 9A44 sub.w D5, D4
label000012FA:
000012FA 4A45 tst.w D5
000012FC 6EBA bgt -0x44 /* 000012B8 */
label000012FE:
000012FE 4A6A 001C tst.w [A2 + 0x1C]
00001302 6F30 ble +0x32 /* 00001334 */
00001304 306A 001C movea.w A0, [A2 + 0x1C]
00001308 2F08 move.l -[A7], A0
0000130A 2F2A 0014 move.l -[A7], [A2 + 0x14]
0000130E 2F2A 0010 move.l -[A7], [A2 + 0x10]
00001312 206A 000C movea.l A0, [A2 + 0xC]
00001316 4E90 jsr [A0]
00001318 2548 0010 move.l [A2 + 0x10], A0
0000131C 2008 move.l D0, A0
0000131E 4FEF 000C lea.l A7, [A7 + 0xC]
00001322 670A beq +0xC /* 0000132E */
00001324 302A 001C move.w D0, [A2 + 0x1C]
00001328 D16A 0026 add.w [A2 + 0x26], D0
0000132C 6006 bra +0x8 /* 00001334 */
label0000132E:
0000132E 70FF moveq.l D0, 0xFFFFFFFF
00001330 6000 013A bra +0x13C /* 0000146C */
label00001334:
00001334 4A6A 001E tst.w [A2 + 0x1E]
00001338 6F4C ble +0x4E /* 00001386 */
0000133A 3A2A 001E move.w D5, [A2 + 0x1E]
0000133E 6042 bra +0x44 /* 00001382 */
label00001340:
00001340 3045 movea.w A0, D5
00001342 7020 moveq.l D0, 0x20
00001344 B1C0 cmpa.l A0, D0
00001346 6206 bhi +0x8 /* 0000134E */
00001348 3045 movea.w A0, D5
0000134A 2008 move.l D0, A0
0000134C 6002 bra +0x4 /* 00001350 */
label0000134E:
0000134E 7020 moveq.l D0, 0x20
label00001350:
00001350 3800 move.w D4, D0
00001352 4A44 tst.w D4
00001354 6F2A ble +0x2C /* 00001380 */
00001356 3044 movea.w A0, D4
00001358 2F08 move.l -[A7], A0
0000135A 486D FCD2 pea.l [A5 - 0x32E]
0000135E 2F2A 0010 move.l -[A7], [A2 + 0x10]
00001362 206A 000C movea.l A0, [A2 + 0xC]
00001366 4E90 jsr [A0]
00001368 2548 0010 move.l [A2 + 0x10], A0
0000136C 2008 move.l D0, A0
0000136E 4FEF 000C lea.l A7, [A7 + 0xC]
00001372 6706 beq +0x8 /* 0000137A */
00001374 D96A 0026 add.w [A2 + 0x26], D4
00001378 6006 bra +0x8 /* 00001380 */
label0000137A:
0000137A 70FF moveq.l D0, 0xFFFFFFFF
0000137C 6000 00EE bra +0xF0 /* 0000146C */
label00001380:
00001380 9A44 sub.w D5, D4
label00001382:
00001382 4A45 tst.w D5
00001384 6EBA bgt -0x44 /* 00001340 */
label00001386:
00001386 4A6A 0020 tst.w [A2 + 0x20]
0000138A 6F38 ble +0x3A /* 000013C4 */
0000138C 306A 0020 movea.w A0, [A2 + 0x20]
00001390 2F08 move.l -[A7], A0
00001392 206A 0014 movea.l A0, [A2 + 0x14]
00001396 302A 001C move.w D0, [A2 + 0x1C]
0000139A 4870 0000 pea.l [A0 + D0.w]
0000139E 2F2A 0010 move.l -[A7], [A2 + 0x10]
000013A2 206A 000C movea.l A0, [A2 + 0xC]
000013A6 4E90 jsr [A0]
000013A8 2548 0010 move.l [A2 + 0x10], A0
000013AC 2008 move.l D0, A0
000013AE 4FEF 000C lea.l A7, [A7 + 0xC]
000013B2 670A beq +0xC /* 000013BE */
000013B4 302A 0020 move.w D0, [A2 + 0x20]
000013B8 D16A 0026 add.w [A2 + 0x26], D0
000013BC 6006 bra +0x8 /* 000013C4 */
label000013BE:
000013BE 70FF moveq.l D0, 0xFFFFFFFF
000013C0 6000 00AA bra +0xAC /* 0000146C */
label000013C4:
000013C4 4A6A 0022 tst.w [A2 + 0x22]
000013C8 6F4A ble +0x4C /* 00001414 */
000013CA 3A2A 0022 move.w D5, [A2 + 0x22]
000013CE 6040 bra +0x42 /* 00001410 */
label000013D0:
000013D0 3045 movea.w A0, D5
000013D2 7020 moveq.l D0, 0x20
000013D4 B1C0 cmpa.l A0, D0
000013D6 6206 bhi +0x8 /* 000013DE */
000013D8 3045 movea.w A0, D5
000013DA 2008 move.l D0, A0
000013DC 6002 bra +0x4 /* 000013E0 */
label000013DE:
000013DE 7020 moveq.l D0, 0x20
label000013E0:
000013E0 3800 move.w D4, D0
000013E2 4A44 tst.w D4
000013E4 6F28 ble +0x2A /* 0000140E */
000013E6 3044 movea.w A0, D4
000013E8 2F08 move.l -[A7], A0
000013EA 486D FCD2 pea.l [A5 - 0x32E]
000013EE 2F2A 0010 move.l -[A7], [A2 + 0x10]
000013F2 206A 000C movea.l A0, [A2 + 0xC]
000013F6 4E90 jsr [A0]
000013F8 2548 0010 move.l [A2 + 0x10], A0
000013FC 2008 move.l D0, A0
000013FE 4FEF 000C lea.l A7, [A7 + 0xC]
00001402 6706 beq +0x8 /* 0000140A */
00001404 D96A 0026 add.w [A2 + 0x26], D4
00001408 6004 bra +0x6 /* 0000140E */
label0000140A:
0000140A 70FF moveq.l D0, 0xFFFFFFFF
0000140C 605E bra +0x60 /* 0000146C */
label0000140E:
0000140E 9A44 sub.w D5, D4
label00001410:
00001410 4A45 tst.w D5
00001412 6EBC bgt -0x42 /* 000013D0 */
label00001414:
00001414 302A 002A move.w D0, [A2 + 0x2A]
00001418 0240 0004 andi.w D0, 0x4
0000141C 674C beq +0x4E /* 0000146A */
0000141E 4A43 tst.w D3
00001420 6F48 ble +0x4A /* 0000146A */
00001422 3803 move.w D4, D3
00001424 6040 bra +0x42 /* 00001466 */
label00001426:
00001426 3044 movea.w A0, D4
00001428 7020 moveq.l D0, 0x20
0000142A B1C0 cmpa.l A0, D0
0000142C 6206 bhi +0x8 /* 00001434 */
0000142E 3044 movea.w A0, D4
00001430 2008 move.l D0, A0
00001432 6002 bra +0x4 /* 00001436 */
label00001434:
00001434 7020 moveq.l D0, 0x20
label00001436:
00001436 3600 move.w D3, D0
00001438 4A43 tst.w D3
0000143A 6F28 ble +0x2A /* 00001464 */
0000143C 3043 movea.w A0, D3
0000143E 2F08 move.l -[A7], A0
00001440 486D FCB0 pea.l [A5 - 0x350]
00001444 2F2A 0010 move.l -[A7], [A2 + 0x10]
00001448 206A 000C movea.l A0, [A2 + 0xC]
0000144C 4E90 jsr [A0]
0000144E 2548 0010 move.l [A2 + 0x10], A0
00001452 2008 move.l D0, A0
00001454 4FEF 000C lea.l A7, [A7 + 0xC]
00001458 6706 beq +0x8 /* 00001460 */
0000145A D76A 0026 add.w [A2 + 0x26], D3
0000145E 6004 bra +0x6 /* 00001464 */
label00001460:
00001460 70FF moveq.l D0, 0xFFFFFFFF
00001462 6008 bra +0xA /* 0000146C */
label00001464:
00001464 9843 sub.w D4, D3
label00001466:
00001466 4A44 tst.w D4
00001468 6EBC bgt -0x42 /* 00001426 */
label0000146A:
0000146A 7000 moveq.l D0, 0x00
label0000146C:
0000146C 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00001470 4E75 rts
00001472 48E7 0018 movem.l -[A7], A3,A4
00001476 594F subq.w A7, 4
00001478 266F 0010 movea.l A3, [A7 + 0x10]
0000147C 200B move.l D0, A3
0000147E 6700 009A beq +0x9C /* 0000151A */
00001482 224B movea.l A1, A3
00001484 5989 subq.l A1, 4
00001486 7008 moveq.l D0, 0x08
00001488 B091 cmp.l D0, [A1]
0000148A 6206 bhi +0x8 /* 00001492 */
0000148C 7001 moveq.l D0, 0x01
0000148E C091 and.l D0, [A1]
00001490 6704 beq +0x6 /* 00001496 */
label00001492:
00001492 6000 0086 bra +0x88 /* 0000151A */
label00001496:
00001496 2E91 move.l [A7], [A1]
00001498 4AAD E054 tst.l [A5 - 0x1FAC]
0000149C 6706 beq +0x8 /* 000014A4 */
0000149E B3ED E054 cmpa.l A1, [A5 - 0x1FAC]
000014A2 640C bcc +0xE /* 000014B0 */
label000014A4:
000014A4 236D E054 0004 move.l [A1 + 0x4], [A5 - 0x1FAC]
000014AA 2B49 E054 move.l [A5 - 0x1FAC], A1
000014AE 6044 bra +0x46 /* 000014F4 */
label000014B0:
000014B0 266D E054 movea.l A3, [A5 - 0x1FAC]
000014B4 6004 bra +0x6 /* 000014BA */
label000014B6:
000014B6 266B 0004 movea.l A3, [A3 + 0x4]
label000014BA:
000014BA 4AAB 0004 tst.l [A3 + 0x4]
000014BE 6706 beq +0x8 /* 000014C6 */
000014C0 B3EB 0004 cmpa.l A1, [A3 + 0x4]
000014C4 62F0 bhi -0xE /* 000014B6 */
label000014C6:
000014C6 284B movea.l A4, A3
000014C8 D9D3 add.l A4, [A3]
000014CA B3CC cmpa.l A1, A4
000014CC 654C bcs +0x4E /* 0000151A */
000014CE B9C9 cmpa.l A4, A1
000014D0 6608 bne +0xA /* 000014DA */
000014D2 2011 move.l D0, [A1]
000014D4 D193 add.l [A3], D0
000014D6 224B movea.l A1, A3
000014D8 601A bra +0x1C /* 000014F4 */
label000014DA:
000014DA 4AAB 0004 tst.l [A3 + 0x4]
000014DE 670A beq +0xC /* 000014EA */
000014E0 2049 movea.l A0, A1
000014E2 D1D1 add.l A0, [A1]
000014E4 B1EB 0004 cmpa.l A0, [A3 + 0x4]
000014E8 6230 bhi +0x32 /* 0000151A */
label000014EA:
000014EA 236B 0004 0004 move.l [A1 + 0x4], [A3 + 0x4]
000014F0 2749 0004 move.l [A3 + 0x4], A1
label000014F4:
000014F4 4AA9 0004 tst.l [A1 + 0x4]
000014F8 6720 beq +0x22 /* 0000151A */
000014FA 2049 movea.l A0, A1
000014FC D1D1 add.l A0, [A1]
000014FE B1E9 0004 cmpa.l A0, [A1 + 0x4]
00001502 6616 bne +0x18 /* 0000151A */
00001504 42AD E050 clr.l [A5 - 0x1FB0]
00001508 2069 0004 movea.l A0, [A1 + 0x4]
0000150C 2010 move.l D0, [A0]
0000150E D191 add.l [A1], D0
00001510 2069 0004 movea.l A0, [A1 + 0x4]
00001514 2368 0004 0004 move.l [A1 + 0x4], [A0 + 0x4]
label0000151A:
0000151A 584F addq.w A7, 4
0000151C 4CDF 1800 movem.l A3,A4, [A7]+
00001520 4E75 rts
00001522 514F subq.w A7, 8
00001524 202F 0010 move.l D0, [A7 + 0x10]
00001528 4C6F 0800 0014 movem.l A3, [A7 + 0x14]
0000152E 2E80 move.l [A7], D0
00001530 202F 0014 move.l D0, [A7 + 0x14]
00001534 4C17 0800 movem.w A3, [A7]
00001538 222F 0010 move.l D1, [A7 + 0x10]
0000153C 9280 sub.l D1, D0
0000153E 2F41 0004 move.l [A7 + 0x4], D1
00001542 206F 000C movea.l A0, [A7 + 0xC]
00001546 2097 move.l [A0], [A7]
00001548 216F 0004 0004 move.l [A0 + 0x4], [A7 + 0x4]
0000154E 504F addq.w A7, 8
00001550 4E75 rts
00001552 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00001556 282F 0014 move.l D4, [A7 + 0x14]
label0000155A:
0000155A 246D E050 movea.l A2, [A5 - 0x1FB0]
0000155E 200A move.l D0, A2
00001560 662E bne +0x30 /* 00001590 */
00001562 45ED E050 lea.l A2, [A5 - 0x1FB0]
00001566 588A addq.l A2, 4
00001568 6010 bra +0x12 /* 0000157A */
label0000156A:
0000156A 2052 movea.l A0, [A2]
0000156C B890 cmp.l D4, [A0]
0000156E 6204 bhi +0x6 /* 00001574 */
00001570 204A movea.l A0, A2
00001572 607C bra +0x7E /* 000015F0 */
label00001574:
00001574 2052 movea.l A0, [A2]
00001576 5888 addq.l A0, 4
00001578 2448 movea.l A2, A0
label0000157A:
0000157A 4A92 tst.l [A2]
0000157C 66EC bne -0x12 /* 0000156A */
0000157E 6036 bra +0x38 /* 000015B6 */
label00001580:
00001580 2052 movea.l A0, [A2]
00001582 B890 cmp.l D4, [A0]
00001584 6204 bhi +0x6 /* 0000158A */
00001586 204A movea.l A0, A2
00001588 6066 bra +0x68 /* 000015F0 */
label0000158A:
0000158A 2052 movea.l A0, [A2]
0000158C 5888 addq.l A0, 4
0000158E 2448 movea.l A2, A0
label00001590:
00001590 4A92 tst.l [A2]
00001592 66EC bne -0x12 /* 00001580 */
00001594 206D E050 movea.l A0, [A5 - 0x1FB0]
00001598 2650 movea.l A3, [A0]
0000159A 45ED E050 lea.l A2, [A5 - 0x1FB0]
0000159E 588A addq.l A2, 4
000015A0 6010 bra +0x12 /* 000015B2 */
label000015A2:
000015A2 2052 movea.l A0, [A2]
000015A4 B890 cmp.l D4, [A0]
000015A6 6204 bhi +0x6 /* 000015AC */
000015A8 204A movea.l A0, A2
000015AA 6044 bra +0x46 /* 000015F0 */
label000015AC:
000015AC 2052 movea.l A0, [A2]
000015AE 5888 addq.l A0, 4
000015B0 2448 movea.l A2, A0
label000015B2:
000015B2 B7D2 cmpa.l A3, [A2]
000015B4 66EC bne -0x12 /* 000015A2 */
label000015B6:
000015B6 263C 0000 8000 move.l D3, 0x8000
label000015BC:
000015BC B684 cmp.l D3, D4
000015BE 6402 bcc +0x4 /* 000015C2 */
000015C0 2604 move.l D3, D4
label000015C2:
000015C2 2F03 move.l -[A7], D3
000015C4 4EB9 0000 1664 jsr [0x00001664]
000015CA 2648 movea.l A3, A0
000015CC 2008 move.l D0, A0
000015CE 584F addq.w A7, 4
000015D0 660C bne +0xE /* 000015DE */
000015D2 B684 cmp.l D3, D4
000015D4 6604 bne +0x6 /* 000015DA */
000015D6 91C8 sub.l A0, A0
000015D8 6016 bra +0x18 /* 000015F0 */
label000015DA:
000015DA E28B lsr D3, 1
000015DC 60DE bra -0x20 /* 000015BC */
label000015DE:
000015DE 2683 move.l [A3], D3
000015E0 486B 0004 pea.l [A3 + 0x4]
000015E4 4EB9 0000 1476 jsr [0x00001476]
000015EA 584F addq.w A7, 4
000015EC 6000 FF6C bra -0x92 /* 0000155A */
label000015F0:
000015F0 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
000015F4 4E75 rts
000015F6 48E7 1830 movem.l -[A7], D3,D4,A2,A3
000015FA 282F 0014 move.l D4, [A7 + 0x14]
000015FE 70FE moveq.l D0, 0xFFFFFFFE
00001600 2604 move.l D3, D4
00001602 5A83 addq.l D3, 5
00001604 C680 and.l D3, D0
00001606 B684 cmp.l D3, D4
00001608 6204 bhi +0x6 /* 0000160E */
0000160A 91C8 sub.l A0, A0
0000160C 604C bra +0x4E /* 0000165A */
label0000160E:
0000160E 7008 moveq.l D0, 0x08
00001610 B680 cmp.l D3, D0
00001612 6402 bcc +0x4 /* 00001616 */
00001614 7608 moveq.l D3, 0x08
label00001616:
00001616 2F03 move.l -[A7], D3
00001618 4EB9 0000 1556 jsr [0x00001556]
0000161E 2648 movea.l A3, A0
00001620 2008 move.l D0, A0
00001622 584F addq.w A7, 4
00001624 6604 bne +0x6 /* 0000162A */
00001626 91C8 sub.l A0, A0
00001628 6030 bra +0x32 /* 0000165A */
label0000162A:
0000162A 2453 movea.l A2, [A3]
0000162C 2012 move.l D0, [A2]
0000162E 5180 subq.l D0, 8
00001630 B083 cmp.l D0, D3
00001632 6406 bcc +0x8 /* 0000163A */
00001634 26AA 0004 move.l [A3], [A2 + 0x4]
00001638 6018 bra +0x1A /* 00001652 */
label0000163A:
0000163A 204A movea.l A0, A2
0000163C D1C3 add.l A0, D3
0000163E 2688 move.l [A3], A0
00001640 2053 movea.l A0, [A3]
00001642 216A 0004 0004 move.l [A0 + 0x4], [A2 + 0x4]
00001648 2012 move.l D0, [A2]
0000164A 9083 sub.l D0, D3
0000164C 2053 movea.l A0, [A3]
0000164E 2080 move.l [A0], D0
00001650 2483 move.l [A2], D3
label00001652:
00001652 2B4B E050 move.l [A5 - 0x1FB0], A3
00001656 204A movea.l A0, A2
00001658 5888 addq.l A0, 4
label0000165A:
0000165A 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
0000165E 4E75 rts
00001660 2F03 move.l -[A7], D3
00001662 594F subq.w A7, 4
00001664 262F 000C move.l D3, [A7 + 0xC]
00001668 4A83 tst.l D3
0000166A 670E beq +0x10 /* 0000167A */
0000166C 2003 move.l D0, D3
0000166E A11E syscall NewPtr, flags=1
00001670 2E88 move.l [A7], A0
00001672 2008 move.l D0, A0
00001674 6704 beq +0x6 /* 0000167A */
00001676 2057 movea.l A0, [A7]
00001678 6002 bra +0x4 /* 0000167C */
label0000167A:
0000167A 91C8 sub.l A0, A0
label0000167C:
0000167C 584F addq.w A7, 4
0000167E 261F move.l D3, [A7]+
00001680 4E75 rts
00001682 48E7 0F1A movem.l -[A7], D4,D5,D6,D7,A3,A4,A6
00001686 286F 0024 movea.l A4, [A7 + 0x24]
0000168A 2E2F 0028 move.l D7, [A7 + 0x28]
0000168E 226F 002C movea.l A1, [A7 + 0x2C]
00001692 200C move.l D0, A4
00001694 6612 bne +0x14 /* 000016A8 */
00001696 32AD E058 move.w [A1], [A5 - 0x1FA8]
0000169A 206D F9CC movea.l A0, [A5 - 0x634]
0000169E 3010 move.w D0, [A0]
000016A0 0240 0F00 andi.w D0, 0xF00
000016A4 6000 00C2 bra +0xC4 /* 00001768 */
label000016A8:
000016A8 1A29 0001 move.b D5, [A1 + 0x1]
000016AC 7C00 moveq.l D6, 0x00
000016AE 264C movea.l A3, A4
000016B0 1411 move.b D2, [A1]
label000016B2:
000016B2 4A87 tst.l D7
000016B4 660C bne +0xE /* 000016C2 */
000016B6 1282 move.b [A1], D2
000016B8 1345 0001 move.b [A1 + 0x1], D5
000016BC 70FE moveq.l D0, 0xFFFFFFFE
000016BE 6000 00A8 bra +0xAA /* 00001768 */
label000016C2:
000016C2 1005 move.b D0, D5
000016C4 4880 ext.w D0
000016C6 0C40 0010 cmpi.w D0, 0x10
000016CA 6C22 bge +0x24 /* 000016EE */
000016CC 1005 move.b D0, D5
000016CE 49C0 lea.l A4, D0
000016D0 41ED F9CC lea.l A0, [A5 - 0x634]
000016D4 2C70 0C00 movea.l A6, [A0 + D0 * 4]
000016D8 200E move.l D0, A6
000016DA 6712 beq +0x14 /* 000016EE */
000016DC 5246 addq.w D6, 1
000016DE 0C46 0FF0 cmpi.w D6, 0xFF0
000016E2 640A bcc +0xC /* 000016EE */
000016E4 7000 moveq.l D0, 0x00
000016E6 1013 move.b D0, [A3]
000016E8 3836 0A00 move.w D4, [A6 + D0 * 2]
000016EC 660A bne +0xC /* 000016F8 */
label000016EE:
000016EE 3B7C 0024 DF78 move.w [A5 - 0x2088], 0x24 /* '$' */
000016F4 70FF moveq.l D0, 0xFFFFFFFF
000016F6 6070 bra +0x72 /* 00001768 */
label000016F8:
000016F8 3A04 move.w D5, D4
000016FA 0245 0F00 andi.w D5, 0xF00
000016FE E04D lsr D5.w, 8
00001700 3004 move.w D0, D4
00001702 0240 8000 andi.w D0, 0x8000
00001706 6712 beq +0x14 /* 0000171A */
00001708 3004 move.w D0, D4
0000170A 0240 00FF andi.w D0, 0xFF
0000170E 1202 move.b D1, D2
00001710 4881 ext.w D1
00001712 0241 FF00 andi.w D1, 0xFF00
00001716 8240 or.w D1, D0
00001718 1401 move.b D2, D1
label0000171A:
0000171A 3004 move.w D0, D4
0000171C 0240 1000 andi.w D0, 0x1000
00001720 6712 beq +0x14 /* 00001734 */
00001722 1002 move.b D0, D2
00001724 4880 ext.w D0
00001726 0240 00FF andi.w D0, 0xFF
0000172A 1202 move.b D1, D2
0000172C 4881 ext.w D1
0000172E E149 lsl D1.w, 8
00001730 8240 or.w D1, D0
00001732 1401 move.b D2, D1
label00001734:
00001734 3004 move.w D0, D4
00001736 0240 4000 andi.w D0, 0x4000 /* '@\0' */
0000173A 670A beq +0xC /* 00001746 */
0000173C 4A13 tst.b [A3]
0000173E 6706 beq +0x8 /* 00001746 */
00001740 528B addq.l A3, 1
00001742 5387 subq.l D7, 1
00001744 7C00 moveq.l D6, 0x00
label00001746:
00001746 3004 move.w D0, D4
00001748 0240 2000 andi.w D0, 0x2000 /* ' \0' */
0000174C 6700 FF64 beq -0x9A /* 000016B2 */
00001750 4AAF 0020 tst.l [A7 + 0x20]
00001754 6706 beq +0x8 /* 0000175C */
00001756 206F 0020 movea.l A0, [A7 + 0x20]
0000175A 1082 move.b [A0], D2
label0000175C:
0000175C 1282 move.b [A1], D2
0000175E 1345 0001 move.b [A1 + 0x1], D5
00001762 204B movea.l A0, A3
00001764 91CC sub.l A0, A4
00001766 2008 move.l D0, A0
label00001768:
00001768 4CDF 58F0 movem.l D4,D5,D6,D7,A3,A4,A6, [A7]+
0000176C 4E75 rts
0000176E 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001772 554F subq.w A7, 2
00001774 286F 0026 movea.l A4, [A7 + 0x26]
00001778 182F 002A move.b D4, [A7 + 0x2A]
0000177C 246F 002C movea.l A2, [A7 + 0x2C]
00001780 200C move.l D0, A4
00001782 6612 bne +0x14 /* 00001796 */
00001784 34AD E05A move.w [A2], [A5 - 0x1FA6]
00001788 206D F9CC movea.l A0, [A5 - 0x634]
0000178C 3010 move.w D0, [A0]
0000178E 0240 0F00 andi.w D0, 0xF00
00001792 6000 00CA bra +0xCC /* 0000185E */
label00001796:
00001796 1A2A 0001 move.b D5, [A2 + 0x1]
0000179A 7E00 moveq.l D7, 0x00
0000179C 4257 clr.w [A7]
0000179E 7C00 moveq.l D6, 0x00
label000017A0:
000017A0 1005 move.b D0, D5
000017A2 4880 ext.w D0
000017A4 0C40 0010 cmpi.w D0, 0x10
000017A8 6C34 bge +0x36 /* 000017DE */
000017AA 1005 move.b D0, D5
000017AC 49C0 lea.l A4, D0
000017AE 41ED FA0C lea.l A0, [A5 - 0x5F4]
000017B2 2670 0C00 movea.l A3, [A0 + D0 * 4]
000017B6 200B move.l D0, A3
000017B8 6724 beq +0x26 /* 000017DE */
000017BA 102D F9CA move.b D0, [A5 - 0x636]
000017BE 4880 ext.w D0
000017C0 B046 cmp.w D0, D6
000017C2 6F1A ble +0x1C /* 000017DE */
000017C4 5257 addq.w [A7], 1
000017C6 0C57 0FF0 cmpi.w [A7], 0xFF0
000017CA 6412 bcc +0x14 /* 000017DE */
000017CC 1004 move.b D0, D4
000017CE 4880 ext.w D0
000017D0 0240 00FF andi.w D0, 0xFF
000017D4 7200 moveq.l D1, 0x00
000017D6 3200 move.w D1, D0
000017D8 3633 1A00 move.w D3, [A3 + D1 * 2]
000017DC 660A bne +0xC /* 000017E8 */
label000017DE:
000017DE 3B7C 0024 DF78 move.w [A5 - 0x2088], 0x24 /* '$' */
000017E4 70FF moveq.l D0, 0xFFFFFFFF
000017E6 6076 bra +0x78 /* 0000185E */
label000017E8:
000017E8 3A03 move.w D5, D3
000017EA 0245 0F00 andi.w D5, 0xF00
000017EE E04D lsr D5.w, 8
000017F0 3003 move.w D0, D3
000017F2 0240 8000 andi.w D0, 0x8000
000017F6 6712 beq +0x14 /* 0000180A */
000017F8 3003 move.w D0, D3
000017FA 0240 00FF andi.w D0, 0xFF
000017FE 1204 move.b D1, D4
00001800 4881 ext.w D1
00001802 0241 FF00 andi.w D1, 0xFF00
00001806 8240 or.w D1, D0
00001808 1801 move.b D4, D1
label0000180A:
0000180A 3003 move.w D0, D3
0000180C 0240 1000 andi.w D0, 0x1000
00001810 6712 beq +0x14 /* 00001824 */
00001812 1004 move.b D0, D4
00001814 4880 ext.w D0
00001816 0240 00FF andi.w D0, 0xFF
0000181A 1204 move.b D1, D4
0000181C 4881 ext.w D1
0000181E E149 lsl D1.w, 8
00001820 8240 or.w D1, D0
00001822 1801 move.b D4, D1
label00001824:
00001824 3003 move.w D0, D3
00001826 0240 2000 andi.w D0, 0x2000 /* ' \0' */
0000182A 671E beq +0x20 /* 0000184A */
0000182C 3003 move.w D0, D3
0000182E 0240 00FF andi.w D0, 0xFF
00001832 6606 bne +0x8 /* 0000183A */
00001834 1004 move.b D0, D4
00001836 4880 ext.w D0
00001838 6002 bra +0x4 /* 0000183C */
label0000183A:
0000183A 3003 move.w D0, D3
label0000183C:
0000183C 3206 move.w D1, D6
0000183E 5246 addq.w D6, 1
00001840 1980 1000 move.b [A4 + D1.w], D0
00001844 6602 bne +0x4 /* 00001848 */
00001846 7E01 moveq.l D7, 0x01
label00001848:
00001848 4257 clr.w [A7]
label0000184A:
0000184A 3003 move.w D0, D3
0000184C 0240 4000 andi.w D0, 0x4000 /* '@\0' */
00001850 6606 bne +0x8 /* 00001858 */
00001852 4A47 tst.w D7
00001854 6700 FF4A beq -0xB4 /* 000017A0 */
label00001858:
00001858 1545 0001 move.b [A2 + 0x1], D5
0000185C 3006 move.w D0, D6
label0000185E:
0000185E 544F addq.w A7, 2
00001860 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00001864 4E75 rts
00001866 222F 000A move.l D1, [A7 + 0xA]
0000186A 102F 0009 move.b D0, [A7 + 0x9]
0000186E 206F 0004 movea.l A0, [A7 + 0x4]
00001872 600A bra +0xC /* 0000187E */
label00001874:
00001874 B010 cmp.b D0, [A0]
00001876 6602 bne +0x4 /* 0000187A */
00001878 4E75 rts
label0000187A:
0000187A 5288 addq.l A0, 1
0000187C 5381 subq.l D1, 1
label0000187E:
0000187E 4A81 tst.l D1
00001880 66F2 bne -0xC /* 00001874 */
00001882 91C8 sub.l A0, A0
00001884 4E75 rts
00001886 2F0C move.l -[A7], A4
00001888 286F 0008 movea.l A4, [A7 + 0x8]
0000188C 202F 0010 move.l D0, [A7 + 0x10]
00001890 204C movea.l A0, A4
00001892 226F 000C movea.l A1, [A7 + 0xC]
00001896 6008 bra +0xA /* 000018A0 */
label00001898:
00001898 1091 move.b [A0], [A1]
0000189A 5288 addq.l A0, 1
0000189C 5289 addq.l A1, 1
0000189E 5380 subq.l D0, 1
label000018A0:
000018A0 4A80 tst.l D0
000018A2 66F4 bne -0xA /* 00001898 */
000018A4 204C movea.l A0, A4
000018A6 285F movea.l A4, [A7]+
000018A8 4E75 rts
000018AA 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
000018AE 226F 0014 movea.l A1, [A7 + 0x14]
000018B2 2C2F 001A move.l D6, [A7 + 0x1A]
000018B6 2049 movea.l A0, A1
000018B8 182F 0019 move.b D4, [A7 + 0x19]
000018BC 7A00 moveq.l D5, 0x00
000018BE 7200 moveq.l D1, 0x00
000018C0 4A86 tst.l D6
000018C2 676C beq +0x6E /* 00001930 */
000018C4 4A04 tst.b D4
000018C6 6718 beq +0x1A /* 000018E0 */
000018C8 7000 moveq.l D0, 0x00
000018CA 1004 move.b D0, D4
000018CC 7A00 moveq.l D5, 0x00
000018CE 1A04 move.b D5, D4
000018D0 E14D lsl D5.w, 8
000018D2 8A40 or.w D5, D0
000018D4 7000 moveq.l D0, 0x00
000018D6 3005 move.w D0, D5
000018D8 3205 move.w D1, D5
000018DA 7410 moveq.l D2, 0x10
000018DC E5A9 lsl D1, D2
000018DE 8280 or.l D1, D0
label000018E0:
000018E0 2006 move.l D0, D6
000018E2 EA88 lsr D0, 5
000018E4 2E00 move.l D7, D0
000018E6 6724 beq +0x26 /* 0000190C */
label000018E8:
000018E8 2081 move.l [A0], D1
000018EA 5888 addq.l A0, 4
000018EC 2081 move.l [A0], D1
000018EE 5888 addq.l A0, 4
000018F0 2081 move.l [A0], D1
000018F2 5888 addq.l A0, 4
000018F4 2081 move.l [A0], D1
000018F6 5888 addq.l A0, 4
000018F8 2081 move.l [A0], D1
000018FA 5888 addq.l A0, 4
000018FC 2081 move.l [A0], D1
000018FE 5888 addq.l A0, 4
00001900 2081 move.l [A0], D1
00001902 5888 addq.l A0, 4
00001904 2081 move.l [A0], D1
00001906 5888 addq.l A0, 4
00001908 5387 subq.l D7, 1
0000190A 66DC bne -0x22 /* 000018E8 */
label0000190C:
0000190C 701F moveq.l D0, 0x1F
0000190E C086 and.l D0, D6
00001910 E488 lsr D0, 2
00001912 2E00 move.l D7, D0
00001914 6708 beq +0xA /* 0000191E */
label00001916:
00001916 2081 move.l [A0], D1
00001918 5888 addq.l A0, 4
0000191A 5387 subq.l D7, 1
0000191C 66F8 bne -0x6 /* 00001916 */
label0000191E:
0000191E 7002 moveq.l D0, 0x02
00001920 C086 and.l D0, D6
00001922 6704 beq +0x6 /* 00001928 */
00001924 3085 move.w [A0], D5
00001926 5488 addq.l A0, 2
label00001928:
00001928 7001 moveq.l D0, 0x01
0000192A C086 and.l D0, D6
0000192C 6702 beq +0x4 /* 00001930 */
0000192E 1084 move.b [A0], D4
label00001930:
00001930 2049 movea.l A0, A1
00001932 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
00001936 4E75 rts
00001938 2F0C move.l -[A7], A4
0000193A 286F 0008 movea.l A4, [A7 + 0x8]
0000193E 226F 000C movea.l A1, [A7 + 0xC]
00001942 204C movea.l A0, A4
00001944 6002 bra +0x4 /* 00001948 */
label00001946:
00001946 5288 addq.l A0, 1
label00001948:
00001948 4A10 tst.b [A0]
0000194A 66FA bne -0x4 /* 00001946 */
0000194C 6004 bra +0x6 /* 00001952 */
label0000194E:
0000194E 5288 addq.l A0, 1
00001950 5289 addq.l A1, 1
label00001952:
00001952 1091 move.b [A0], [A1]
00001954 66F8 bne -0x6 /* 0000194E */
00001956 204C movea.l A0, A4
00001958 285F movea.l A4, [A7]+
0000195A 4E75 rts
0000195C 554F subq.w A7, 2
0000195E 206F 0006 movea.l A0, [A7 + 0x6]
00001962 1F6F 000B 0001 move.b [A7 + 0x1], [A7 + 0xB]
00001968 600C bra +0xE /* 00001976 */
label0000196A:
0000196A 4A10 tst.b [A0]
0000196C 6606 bne +0x8 /* 00001974 */
0000196E 91C8 sub.l A0, A0
00001970 544F addq.w A7, 2
00001972 4E75 rts
label00001974:
00001974 5288 addq.l A0, 1
label00001976:
00001976 1010 move.b D0, [A0]
00001978 B02F 0001 cmp.b D0, [A7 + 0x1]
0000197C 66EC bne -0x12 /* 0000196A */
0000197E 544F addq.w A7, 2
00001980 4E75 rts
00001982 226F 0004 movea.l A1, [A7 + 0x4]
00001986 6002 bra +0x4 /* 0000198A */
label00001988:
00001988 5289 addq.l A1, 1
label0000198A:
0000198A 4A11 tst.b [A1]
0000198C 66FA bne -0x4 /* 00001988 */
0000198E 2049 movea.l A0, A1
00001990 91EF 0004 sub.l A0, [A7 + 0x4]
00001994 2008 move.l D0, A0
00001996 4E75 rts
00001998 2F0C move.l -[A7], A4
0000199A 286F 0008 movea.l A4, [A7 + 0x8]
0000199E 226F 000C movea.l A1, [A7 + 0xC]
000019A2 202F 0010 move.l D0, [A7 + 0x10]
000019A6 204C movea.l A0, A4
000019A8 6004 bra +0x6 /* 000019AE */
label000019AA:
000019AA 10D9 move.b [A0]+, [A1]+
000019AC 5380 subq.l D0, 1
label000019AE:
000019AE 4A80 tst.l D0
000019B0 670A beq +0xC /* 000019BC */
000019B2 4A11 tst.b [A1]
000019B4 66F4 bne -0xA /* 000019AA */
000019B6 6004 bra +0x6 /* 000019BC */
label000019B8:
000019B8 4218 clr.b [A0]+
000019BA 5380 subq.l D0, 1
label000019BC:
000019BC 4A80 tst.l D0
000019BE 66F8 bne -0x6 /* 000019B8 */
000019C0 204C movea.l A0, A4
000019C2 285F movea.l A4, [A7]+
000019C4 4E75 rts
000019C6 4267 clr.w -[A7]
000019C8 4EB9 0000 002C jsr [0x0000002C /* __m68k_vec_f_trap__ */]
000019CE 544F addq.w A7, 2
000019D0 4E75 rts
000019D2 4A6D E05C tst.w [A5 - 0x1FA4]
000019D6 660E bne +0x10 /* 000019E6 */
000019D8 41F9 0000 0070 lea.l A0, [0x00000070 /* __m68k_vec_switch__ */]
000019DE 2B48 9A6E move.l [A5 - 0x6592], A0
000019E2 526D E05C addq.w [A5 - 0x1FA4], 1
label000019E6:
000019E6 4E75 rts
000019E8 3F2F 0006 move.w -[A7], [A7 + 0x6]
000019EC 4EB9 0000 0082 jsr [0x00000082]
000019F2 48C0 ext.l D0
000019F4 544F addq.w A7, 2
000019F6 4E75 rts
000019F8 514F subq.w A7, 8
000019FA 422D FCF4 clr.b [A5 - 0x30C]
000019FE 303C A89F move.w D0, 0xA89F
00001A02 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00001A04 2E88 move.l [A7], A0
00001A06 303C A1AD move.w D0, 0xA1AD
00001A0A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00001A0C B1D7 cmpa.l A0, [A7]
00001A0E 6728 beq +0x2A /* 00001A38 */
00001A10 554F subq.w A7, 2
00001A12 2F3C 7379 7376 move.l -[A7], 0x73797376 /* 'sysv' */
00001A18 486F 000A pea.l [A7 + 0xA]
00001A1C 4EB9 0000 4C4C jsr [0x00004C4C]
00001A22 301F move.w D0, [A7]+
00001A24 6612 bne +0x14 /* 00001A38 */
00001A26 0CAF 0000 0700 0004 cmpi.l [A7 + 0x4], 0x700
00001A2E 5CC0 sge D0
00001A30 4400 neg.b D0
00001A32 4880 ext.w D0
00001A34 1B40 FCF4 move.b [A5 - 0x30C], D0
label00001A38:
00001A38 504F addq.w A7, 8
00001A3A 4E75 rts
00001A3C 2F03 move.l -[A7], D3
00001A3E 4FEF FF72 lea.l A7, [A7 - 0x8E]
00001A42 362F 0096 move.w D3, [A7 + 0x96]
00001A46 41ED E182 lea.l A0, [A5 - 0x1E7E]
00001A4A 43EF 003E lea.l A1, [A7 + 0x3E]
00001A4E 7013 moveq.l D0, 0x13
label00001A50:
00001A50 22D8 move.l [A1]+, [A0]+
00001A52 51C8 FFFC dbf D0, -0x6 /* 00001A50 */
00001A56 41ED E144 lea.l A0, [A5 - 0x1EBC]
00001A5A 43D7 lea.l A1, [A7]
00001A5C 701E moveq.l D0, 0x1E
label00001A5E:
00001A5E 32D8 move.w [A1]+, [A0]+
00001A60 51C8 FFFC dbf D0, -0x6 /* 00001A5E */
00001A64 4A43 tst.w D3
00001A66 6D0A blt +0xC /* 00001A72 */
00001A68 0C43 0002 cmpi.w D3, 0x2
00001A6C 6E04 bgt +0x6 /* 00001A72 */
00001A6E 7000 moveq.l D0, 0x00
00001A70 6034 bra +0x36 /* 00001AA6 */
label00001A72:
00001A72 3F43 0018 move.w [A7 + 0x18], D3
00001A76 41D7 lea.l A0, [A7]
00001A78 7008 moveq.l D0, 0x08
00001A7A A260 syscall FSDispatch/HFSDispatch, flags=2
00001A7C 3F6F 0016 0054 move.w [A7 + 0x54], [A7 + 0x16]
00001A82 3F43 0056 move.w [A7 + 0x56], D3
00001A86 41EF 003E lea.l A0, [A7 + 0x3E]
00001A8A A001 syscall Close
00001A8C 4A40 tst.w D0
00001A8E 660A bne +0xC /* 00001A9A */
00001A90 42AF 0050 clr.l [A7 + 0x50]
00001A94 41EF 003E lea.l A0, [A7 + 0x3E]
00001A98 A013 syscall FlushVol
label00001A9A:
00001A9A 4A6F 004E tst.w [A7 + 0x4E]
00001A9E 6604 bne +0x6 /* 00001AA4 */
00001AA0 7000 moveq.l D0, 0x00
00001AA2 6002 bra +0x4 /* 00001AA6 */
label00001AA4:
00001AA4 70FF moveq.l D0, 0xFFFFFFFF
label00001AA6:
00001AA6 4FEF 008E lea.l A7, [A7 + 0x8E]
00001AAA 261F move.l D3, [A7]+
00001AAC 4E75 rts
00001AAE 48E7 1820 movem.l -[A7], D3,D4,A2
00001AB2 4FEF FFCE lea.l A7, [A7 - 0x32]
00001AB6 362F 0042 move.w D3, [A7 + 0x42]
00001ABA 246F 0044 movea.l A2, [A7 + 0x44]
00001ABE 382F 0048 move.w D4, [A7 + 0x48]
00001AC2 41ED E112 lea.l A0, [A5 - 0x1EEE]
00001AC6 43D7 lea.l A1, [A7]
00001AC8 7018 moveq.l D0, 0x18
label00001ACA:
00001ACA 32D8 move.w [A1]+, [A0]+
00001ACC 51C8 FFFC dbf D0, -0x6 /* 00001ACA */
00001AD0 0C43 0001 cmpi.w D3, 0x1
00001AD4 6706 beq +0x8 /* 00001ADC */
00001AD6 0C43 0002 cmpi.w D3, 0x2
00001ADA 6634 bne +0x36 /* 00001B10 */
label00001ADC:
00001ADC 3F03 move.w -[A7], D3
00001ADE 4EB9 0000 24FC jsr [0x000024FC]
00001AE4 4A40 tst.w D0
00001AE6 544F addq.w A7, 2
00001AE8 6622 bne +0x24 /* 00001B0C */
00001AEA 4EB9 0000 19D6 jsr [0x000019D6]
00001AF0 486D FACE pea.l [A5 - 0x532]
00001AF4 4EB9 0000 02E8 jsr [0x000002E8]
00001AFA 3044 movea.w A0, D4
00001AFC 2F08 move.l -[A7], A0
00001AFE 2F0A move.l -[A7], A2
00001B00 4EB9 0000 2624 jsr [0x00002624]
00001B06 4FEF 003E lea.l A7, [A7 + 0x3E]
00001B0A 602A bra +0x2C /* 00001B36 */
label00001B0C:
00001B0C 70FF moveq.l D0, 0xFFFFFFFF
00001B0E 6022 bra +0x24 /* 00001B32 */
label00001B10:
00001B10 3F43 0018 move.w [A7 + 0x18], D3
00001B14 2F4A 0020 move.l [A7 + 0x20], A2
00001B18 3044 movea.w A0, D4
00001B1A 2F48 0024 move.l [A7 + 0x24], A0
00001B1E 426F 002C clr.w [A7 + 0x2C]
00001B22 41D7 lea.l A0, [A7]
00001B24 A003 syscall Write
00001B26 4A40 tst.w D0
00001B28 6704 beq +0x6 /* 00001B2E */
00001B2A 70FF moveq.l D0, 0xFFFFFFFF
00001B2C 6004 bra +0x6 /* 00001B32 */
label00001B2E:
00001B2E 302F 002A move.w D0, [A7 + 0x2A]
label00001B32:
00001B32 4FEF 0032 lea.l A7, [A7 + 0x32]
label00001B36:
00001B36 4CDF 0418 movem.l D3,D4,A2, [A7]+
00001B3A 4E75 rts
00001B3C 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00001B40 266F 0018 movea.l A3, [A7 + 0x18]
00001B44 286F 001C movea.l A4, [A7 + 0x1C]
00001B48 382F 0020 move.w D4, [A7 + 0x20]
00001B4C 3013 move.w D0, [A3]
00001B4E 0240 0020 andi.w D0, 0x20 /* ' ' */
00001B52 6626 bne +0x28 /* 00001B7A */
00001B54 3604 move.w D3, D4
00001B56 244C movea.l A2, A4
00001B58 6018 bra +0x1A /* 00001B72 */
label00001B5A:
00001B5A 0C12 000A cmpi.b [A2], 0xA /* '\n' */
00001B5E 6606 bne +0x8 /* 00001B66 */
00001B60 14BC 000D move.b [A2], 0xD /* '\r' */
00001B64 600A bra +0xC /* 00001B70 */
label00001B66:
00001B66 0C12 000D cmpi.b [A2], 0xD /* '\r' */
00001B6A 6604 bne +0x6 /* 00001B70 */
00001B6C 14BC 000A move.b [A2], 0xA /* '\n' */
label00001B70:
00001B70 528A addq.l A2, 1
label00001B72:
00001B72 3003 move.w D0, D3
00001B74 5343 subq.w D3, 1
00001B76 4A40 tst.w D0
00001B78 66E0 bne -0x1E /* 00001B5A */
label00001B7A:
00001B7A 3013 move.w D0, [A3]
00001B7C 0240 0004 andi.w D0, 0x4
00001B80 671A beq +0x1C /* 00001B9C */
00001B82 3F3C 0002 move.w -[A7], 0x2
00001B86 42A7 clr.l -[A7]
00001B88 3F2B 0002 move.w -[A7], [A3 + 0x2]
00001B8C 4EB9 0000 1C0C jsr [0x00001C0C]
00001B92 5280 addq.l D0, 1
00001B94 504F addq.w A7, 8
00001B96 6604 bne +0x6 /* 00001B9C */
00001B98 70FF moveq.l D0, 0xFFFFFFFF
00001B9A 6010 bra +0x12 /* 00001BAC */
label00001B9C:
00001B9C 3F04 move.w -[A7], D4
00001B9E 2F0C move.l -[A7], A4
00001BA0 3F2B 0002 move.w -[A7], [A3 + 0x2]
00001BA4 4EB9 0000 1AB2 jsr [0x00001AB2]
00001BAA 504F addq.w A7, 8
label00001BAC:
00001BAC 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00001BB0 4E75 rts
00001BB2 48E7 0030 movem.l -[A7], A2,A3
00001BB6 4FEF FEB0 lea.l A7, [A7 - 0x150]
00001BBA 41ED E0C2 lea.l A0, [A5 - 0x1F3E]
00001BBE 43D7 lea.l A1, [A7]
00001BC0 7013 moveq.l D0, 0x13
label00001BC2:
00001BC2 22D8 move.l [A1]+, [A0]+
00001BC4 51C8 FFFC dbf D0, -0x6 /* 00001BC2 */
00001BC8 266F 015C movea.l A3, [A7 + 0x15C]
00001BCC 45EF 0050 lea.l A2, [A7 + 0x50]
00001BD0 528A addq.l A2, 1
00001BD2 6002 bra +0x4 /* 00001BD6 */
label00001BD4:
00001BD4 14DB move.b [A2]+, [A3]+
label00001BD6:
00001BD6 4A13 tst.b [A3]
00001BD8 66FA bne -0x4 /* 00001BD4 */
00001BDA 4212 clr.b [A2]
00001BDC 41EF 0050 lea.l A0, [A7 + 0x50]
00001BE0 224A movea.l A1, A2
00001BE2 93C8 sub.l A1, A0
00001BE4 5389 subq.l A1, 1
00001BE6 2009 move.l D0, A1
00001BE8 1F40 0050 move.b [A7 + 0x50], D0
00001BEC 2F48 0012 move.l [A7 + 0x12], A0
00001BF0 41D7 lea.l A0, [A7]
00001BF2 A009 syscall Delete/PBHDelete/HDelete
00001BF4 4A40 tst.w D0
00001BF6 6604 bne +0x6 /* 00001BFC */
00001BF8 7000 moveq.l D0, 0x00
00001BFA 6002 bra +0x4 /* 00001BFE */
label00001BFC:
00001BFC 70FF moveq.l D0, 0xFFFFFFFF
label00001BFE:
00001BFE 4FEF 0150 lea.l A7, [A7 + 0x150]
00001C02 4CDF 0C00 movem.l A2,A3, [A7]+
00001C06 4E75 rts
00001C08 48E7 1C00 movem.l -[A7], D3,D4,D5
00001C0C 4FEF FF9C lea.l A7, [A7 - 0x64]
00001C10 382F 0074 move.w D4, [A7 + 0x74]
00001C14 2A2F 0076 move.l D5, [A7 + 0x76]
00001C18 41ED E090 lea.l A0, [A5 - 0x1F70]
00001C1C 43EF 0032 lea.l A1, [A7 + 0x32]
00001C20 7018 moveq.l D0, 0x18
label00001C22:
00001C22 32D8 move.w [A1]+, [A0]+
00001C24 51C8 FFFC dbf D0, -0x6 /* 00001C22 */
00001C28 4A44 tst.w D4
00001C2A 6D0A blt +0xC /* 00001C36 */
00001C2C 0C44 0002 cmpi.w D4, 0x2
00001C30 6E04 bgt +0x6 /* 00001C36 */
00001C32 70FF moveq.l D0, 0xFFFFFFFF
00001C34 6078 bra +0x7A /* 00001CAE */
label00001C36:
00001C36 42AF 003E clr.l [A7 + 0x3E]
00001C3A 3F44 004A move.w [A7 + 0x4A], D4
00001C3E 2F45 0060 move.l [A7 + 0x60], D5
00001C42 302F 007A move.w D0, [A7 + 0x7A]
00001C46 670A beq +0xC /* 00001C52 */
00001C48 5340 subq.w D0, 1
00001C4A 670E beq +0x10 /* 00001C5A */
00001C4C 5340 subq.w D0, 1
00001C4E 6712 beq +0x14 /* 00001C62 */
00001C50 6016 bra +0x18 /* 00001C68 */
label00001C52:
00001C52 3F7C 0001 005E move.w [A7 + 0x5E], 0x1
00001C58 600E bra +0x10 /* 00001C68 */
label00001C5A:
00001C5A 3F7C 0003 005E move.w [A7 + 0x5E], 0x3
00001C60 6006 bra +0x8 /* 00001C68 */
label00001C62:
00001C62 3F7C 0002 005E move.w [A7 + 0x5E], 0x2
label00001C68:
00001C68 41EF 0032 lea.l A0, [A7 + 0x32]
00001C6C A044 syscall SetFPos
00001C6E 3600 move.w D3, D0
00001C70 0C43 FFD9 cmpi.w D3, 0xFFD9
00001C74 662C bne +0x2E /* 00001CA2 */
00001C76 41ED E05E lea.l A0, [A5 - 0x1FA2]
00001C7A 43D7 lea.l A1, [A7]
00001C7C 7018 moveq.l D0, 0x18
label00001C7E:
00001C7E 32D8 move.w [A1]+, [A0]+
00001C80 51C8 FFFC dbf D0, -0x6 /* 00001C7E */
00001C84 42AF 000C clr.l [A7 + 0xC]
00001C88 3F44 0018 move.w [A7 + 0x18], D4
00001C8C 2F45 004E move.l [A7 + 0x4E], D5
00001C90 41D7 lea.l A0, [A7]
00001C92 A012 syscall SetEOF
00001C94 3600 move.w D3, D0
00001C96 4A43 tst.w D3
00001C98 6608 bne +0xA /* 00001CA2 */
00001C9A 41EF 0032 lea.l A0, [A7 + 0x32]
00001C9E A044 syscall SetFPos
00001CA0 3600 move.w D3, D0
label00001CA2:
00001CA2 4A43 tst.w D3
00001CA4 6606 bne +0x8 /* 00001CAC */
00001CA6 202F 0060 move.l D0, [A7 + 0x60]
00001CAA 6002 bra +0x4 /* 00001CAE */
label00001CAC:
00001CAC 70FF moveq.l D0, 0xFFFFFFFF
label00001CAE:
00001CAE 4FEF 0064 lea.l A7, [A7 + 0x64]
00001CB2 4CDF 0038 movem.l D3,D4,D5, [A7]+
00001CB6 4E75 rts
00001CB8 486D 9B3C pea.l [A5 - 0x64C4]
00001CBC A86E syscall InitGraf
00001CBE A8FE syscall InitFonts
00001CC0 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00001CC6 201F move.l D0, [A7]+
00001CC8 A032 syscall FlushEvents
00001CCA A912 syscall InitWindows
00001CCC A930 syscall InitMenus
00001CCE A9CC syscall TEInit
00001CD0 42A7 clr.l -[A7]
00001CD2 A97B syscall InitDialogs
00001CD4 A850 syscall InitCursor
00001CD6 A063 syscall MaxApplZone
00001CD8 A036 syscall MoreMasters
00001CDA 1B7C 0001 E1E4 move.b [A5 - 0x1E1C], 0x1
00001CE0 4E75 rts
00001CE2 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00001CE6 246F 0018 movea.l A2, [A7 + 0x18]
00001CEA 7600 moveq.l D3, 0x00
00001CEC 4AAD E1DC tst.l [A5 - 0x1E24]
00001CF0 6730 beq +0x32 /* 00001D22 */
00001CF2 262D E1DC move.l D3, [A5 - 0x1E24]
00001CF6 5383 subq.l D3, 1
00001CF8 600E bra +0x10 /* 00001D08 */
label00001CFA:
00001CFA 206D E1E0 movea.l A0, [A5 - 0x1E20]
00001CFE 0C30 000D 3000 cmpi.b [A0 + D3.w], 0xD /* '\r' */
00001D04 6706 beq +0x8 /* 00001D0C */
00001D06 5343 subq.w D3, 1
label00001D08:
00001D08 4A43 tst.w D3
00001D0A 6EEE bgt -0x10 /* 00001CFA */
label00001D0C:
00001D0C 4A43 tst.w D3
00001D0E 6606 bne +0x8 /* 00001D16 */
00001D10 362D E1DE move.w D3, [A5 - 0x1E22]
00001D14 600C bra +0xE /* 00001D22 */
label00001D16:
00001D16 3043 movea.w A0, D3
00001D18 202D E1DC move.l D0, [A5 - 0x1E24]
00001D1C 5380 subq.l D0, 1
00001D1E 9088 sub.l D0, A0
00001D20 6058 bra +0x5A /* 00001D7A */
label00001D22:
00001D22 204A movea.l A0, A2
00001D24 A029 syscall HLock
00001D26 2052 movea.l A0, [A2]
00001D28 2068 003E movea.l A0, [A0 + 0x3E]
00001D2C A029 syscall HLock
00001D2E 2052 movea.l A0, [A2]
00001D30 2068 003E movea.l A0, [A0 + 0x3E]
00001D34 2850 movea.l A4, [A0]
00001D36 2052 movea.l A0, [A2]
00001D38 2652 movea.l A3, [A2]
00001D3A 266B 003E movea.l A3, [A3 + 0x3E]
00001D3E 2653 movea.l A3, [A3]
00001D40 D6E8 0020 add.w A3, [A0 + 0x20]
00001D44 6002 bra +0x4 /* 00001D48 */
label00001D46:
00001D46 538B subq.l A3, 1
label00001D48:
00001D48 B7CC cmpa.l A3, A4
00001D4A 6308 bls +0xA /* 00001D54 */
00001D4C 0C2B 000D FFFF cmpi.b [A3 - 0x1], 0xD /* '\r' */
00001D52 66F2 bne -0xC /* 00001D46 */
label00001D54:
00001D54 3043 movea.w A0, D3
00001D56 2252 movea.l A1, [A2]
00001D58 3829 0020 move.w D4, [A1 + 0x20]
00001D5C 2252 movea.l A1, [A2]
00001D5E 2269 003E movea.l A1, [A1 + 0x3E]
00001D62 2251 movea.l A1, [A1]
00001D64 D2C4 add.w A1, D4
00001D66 93CB sub.l A1, A3
00001D68 D3C8 add.l A1, A0
00001D6A 2809 move.l D4, A1
00001D6C 2052 movea.l A0, [A2]
00001D6E 2068 003E movea.l A0, [A0 + 0x3E]
00001D72 A02A syscall HUnlock
00001D74 204A movea.l A0, A2
00001D76 A02A syscall HUnlock
00001D78 3004 move.w D0, D4
label00001D7A:
00001D7A 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00001D7E 4E75 rts
00001D80 48E7 1820 movem.l -[A7], D3,D4,A2
00001D84 594F subq.w A7, 4
00001D86 246F 0014 movea.l A2, [A7 + 0x14]
00001D8A 554F subq.w A7, 2
00001D8C 2F2A 000A move.l -[A7], [A2 + 0xA]
00001D90 486F 0006 pea.l [A7 + 0x6]
00001D94 A92C syscall FindWindow
00001D96 301F move.w D0, [A7]+
00001D98 3800 move.w D4, D0
00001D9A 2F17 move.l -[A7], [A7]
00001D9C 4EB9 0000 32C8 jsr [0x000032C8]
00001DA2 1600 move.b D3, D0
00001DA4 584F addq.w A7, 4
00001DA6 3004 move.w D0, D4
00001DA8 0C40 0005 cmpi.w D0, 0x5
00001DAC 6200 00C4 bhi +0xC6 /* 00001E72 */
00001DB0 D040 add.w D0, D0
00001DB2 303B 0006 move.w D0, [PC + D0.w + 0x6]
00001DB6 4EFB 0002 jmp [PC + D0.w + 0x2]
00001DBA 00B8 000C 0034 0046 ori.l [0x00000046], 0xC0034
00001DC2 008A 009E 0C6D ori.l A2, 0x9E0C6D
00001DC8 0001 E1F0 ori.b D1, 0xF0
00001DCC 6600 00A4 bne +0xA6 /* 00001E72 */
00001DD0 4EB9 0000 2996 jsr [0x00002996]
00001DD6 594F subq.w A7, 4
00001DD8 2F2A 000A move.l -[A7], [A2 + 0xA]
00001DDC A93D syscall MenuSelect
00001DDE 201F move.l D0, [A7]+
00001DE0 2F00 move.l -[A7], D0
00001DE2 4EB9 0000 2CC0 jsr [0x00002CC0]
00001DE8 584F addq.w A7, 4
00001DEA 6000 0086 bra +0x88 /* 00001E72 */
00001DEE 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
00001DF4 667C bne +0x7E /* 00001E72 */
00001DF6 2F0A move.l -[A7], A2
00001DF8 2F2F 0004 move.l -[A7], [A7 + 0x4]
00001DFC A9B3 syscall SystemClick
00001DFE 6072 bra +0x74 /* 00001E72 */
00001E00 594F subq.w A7, 4
00001E02 A924 syscall FrontWindow
00001E04 205F movea.l A0, [A7]+
00001E06 B1D7 cmpa.l A0, [A7]
00001E08 6706 beq +0x8 /* 00001E10 */
00001E0A 2F17 move.l -[A7], [A7]
00001E0C A91F syscall SelectWindow
00001E0E 6062 bra +0x64 /* 00001E72 */
label00001E10:
00001E10 4A03 tst.b D3
00001E12 675E beq +0x60 /* 00001E72 */
00001E14 2F17 move.l -[A7], [A7]
00001E16 A91F syscall SelectWindow
00001E18 0C2D 0002 E1EA cmpi.b [A5 - 0x1E16], 0x2
00001E1E 6612 bne +0x14 /* 00001E32 */
00001E20 554F subq.w A7, 2
00001E22 A973 syscall StillDown
00001E24 101F move.b D0, [A7]+
00001E26 6718 beq +0x1A /* 00001E40 */
label00001E28:
00001E28 554F subq.w A7, 2
00001E2A A977 syscall WaitMouseUp
00001E2C 101F move.b D0, [A7]+
00001E2E 66F8 bne -0x6 /* 00001E28 */
00001E30 600E bra +0x10 /* 00001E40 */
label00001E32:
00001E32 2F0A move.l -[A7], A2
00001E34 2F2F 0004 move.l -[A7], [A7 + 0x4]
00001E38 4EB9 0000 37CE jsr [0x000037CE]
00001E3E 504F addq.w A7, 8
label00001E40:
00001E40 7001 moveq.l D0, 0x01
00001E42 6030 bra +0x32 /* 00001E74 */
00001E44 4A03 tst.b D3
00001E46 672A beq +0x2C /* 00001E72 */
00001E48 2F17 move.l -[A7], [A7]
00001E4A 2F2A 000A move.l -[A7], [A2 + 0xA]
00001E4E 486D FCFE pea.l [A5 - 0x302]
00001E52 A925 syscall DragWindow
00001E54 7001 moveq.l D0, 0x01
00001E56 601C bra +0x1E /* 00001E74 */
00001E58 4A03 tst.b D3
00001E5A 6716 beq +0x18 /* 00001E72 */
00001E5C 2F2A 000A move.l -[A7], [A2 + 0xA]
00001E60 2F2F 0004 move.l -[A7], [A7 + 0x4]
00001E64 4EB9 0000 3664 jsr [0x00003664]
00001E6A 7001 moveq.l D0, 0x01
00001E6C 4FEF 000C lea.l A7, [A7 + 0xC]
00001E70 6004 bra +0x6 /* 00001E76 */
label00001E72:
00001E72 7000 moveq.l D0, 0x00
label00001E74:
00001E74 584F addq.w A7, 4
label00001E76:
00001E76 4CDF 0418 movem.l D3,D4,A2, [A7]+
00001E7A 4E75 rts
00001E7C 2F0A move.l -[A7], A2
00001E7E 246F 0008 movea.l A2, [A7 + 0x8]
00001E82 2F2A 0002 move.l -[A7], [A2 + 0x2]
00001E86 4EB9 0000 32C8 jsr [0x000032C8]
00001E8C 4A00 tst.b D0
00001E8E 584F addq.w A7, 4
00001E90 6764 beq +0x66 /* 00001EF6 */
00001E92 0C52 0006 cmpi.w [A2], 0x6
00001E96 660E bne +0x10 /* 00001EA6 */
00001E98 2F2A 0002 move.l -[A7], [A2 + 0x2]
00001E9C 4EB9 0000 33FC jsr [0x000033FC]
00001EA2 584F addq.w A7, 4
00001EA4 604A bra +0x4C /* 00001EF0 */
label00001EA6:
00001EA6 302A 000E move.w D0, [A2 + 0xE]
00001EAA 7201 moveq.l D1, 0x01
00001EAC C081 and.l D0, D1
00001EAE 6716 beq +0x18 /* 00001EC6 */
00001EB0 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00001EB4 2F28 009C move.l -[A7], [A0 + 0x9C]
00001EB8 A9D8 syscall TEActivate
00001EBA 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00001EBE 2F28 00A0 move.l -[A7], [A0 + 0xA0]
00001EC2 A957 syscall ShowControl
00001EC4 6014 bra +0x16 /* 00001EDA */
label00001EC6:
00001EC6 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00001ECA 2F28 009C move.l -[A7], [A0 + 0x9C]
00001ECE A9D9 syscall TEDeactivate
00001ED0 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00001ED4 2F28 00A0 move.l -[A7], [A0 + 0xA0]
00001ED8 A958 syscall HideControl
label00001EDA:
00001EDA 2F2A 0002 move.l -[A7], [A2 + 0x2]
00001EDE 4EB9 0000 33A6 jsr [0x000033A6]
00001EE4 2F2A 0002 move.l -[A7], [A2 + 0x2]
00001EE8 4EB9 0000 34F8 jsr [0x000034F8]
00001EEE 504F addq.w A7, 8
label00001EF0:
00001EF0 7001 moveq.l D0, 0x01
00001EF2 245F movea.l A2, [A7]+
00001EF4 4E75 rts
label00001EF6:
00001EF6 7000 moveq.l D0, 0x00
00001EF8 245F movea.l A2, [A7]+
00001EFA 4E75 rts
00001EFC 2F03 move.l -[A7], D3
00001EFE 4FEF FFF0 lea.l A7, [A7 - 0x10]
00001F02 594F subq.w A7, 4
00001F04 A975 syscall TickCount
00001F06 201F move.l D0, [A7]+
00001F08 90AD E1D8 sub.l D0, [A5 - 0x1E28]
00001F0C 721E moveq.l D1, 0x1E
00001F0E B081 cmp.l D0, D1
00001F10 6500 00D2 bcs +0xD4 /* 00001FE4 */
00001F14 594F subq.w A7, 4
00001F16 A975 syscall TickCount
00001F18 201F move.l D0, [A7]+
00001F1A 2B40 E1D8 move.l [A5 - 0x1E28], D0
00001F1E 4A2D E1EC tst.b [A5 - 0x1E14]
00001F22 6714 beq +0x16 /* 00001F38 */
00001F24 554F subq.w A7, 2
00001F26 3F3C FFFF move.w -[A7], 0xFFFF
00001F2A 486F 0004 pea.l [A7 + 0x4]
00001F2E 42A7 clr.l -[A7]
00001F30 42A7 clr.l -[A7]
00001F32 A860 syscall WaitNextEvent
00001F34 101F move.b D0, [A7]+
00001F36 6010 bra +0x12 /* 00001F48 */
label00001F38:
00001F38 A9B4 syscall SystemTask
00001F3A 554F subq.w A7, 2
00001F3C 3F3C FFFF move.w -[A7], 0xFFFF
00001F40 486F 0004 pea.l [A7 + 0x4]
00001F44 A970 syscall GetNextEvent
00001F46 101F move.b D0, [A7]+
label00001F48:
00001F48 3017 move.w D0, [A7]
00001F4A 0C40 0008 cmpi.w D0, 0x8
00001F4E 6200 0094 bhi +0x96 /* 00001FE4 */
00001F52 D040 add.w D0, D0
00001F54 303B 0006 move.w D0, [PC + D0.w + 0x6]
00001F58 4EFB 0002 jmp [PC + D0.w + 0x2]
00001F5C 0088 0072 0088 ori.l A0, 0x720088
00001F62 0012 0088 ori.b [A2], 0x88
00001F66 0012 007E ori.b [A2], 0x7E /* '~' */
00001F6A 0088 007E 302F ori.l A0, 0x7E302F /* '~0/' */
00001F70 000E 0280 ori.b A6, 0x80
00001F74 0000 0100 ori.b D0, 0x0
00001F78 6738 beq +0x3A /* 00001FB2 */
00001F7A 202F 0002 move.l D0, [A7 + 0x2]
00001F7E 0280 0000 00FF andi.l D0, 0xFF
00001F84 722E moveq.l D1, 0x2E
00001F86 B081 cmp.l D0, D1
00001F88 660C bne +0xE /* 00001F96 */
00001F8A 4878 0002 push.l 0x2
00001F8E 4EB9 0000 19EC jsr [0x000019EC]
00001F94 584F addq.w A7, 4
label00001F96:
00001F96 262F 0002 move.l D3, [A7 + 0x2]
00001F9A 0283 0000 00FF andi.l D3, 0xFF
00001FA0 7071 moveq.l D0, 0x71
00001FA2 B680 cmp.l D3, D0
00001FA4 6706 beq +0x8 /* 00001FAC */
00001FA6 7051 moveq.l D0, 0x51
00001FA8 B680 cmp.l D3, D0
00001FAA 6606 bne +0x8 /* 00001FB2 */
label00001FAC:
00001FAC 1B7C 0001 E1EE move.b [A5 - 0x1E12], 0x1
label00001FB2:
00001FB2 202F 0002 move.l D0, [A7 + 0x2]
00001FB6 0280 0000 00FF andi.l D0, 0xFF
00001FBC 5780 subq.l D0, 3
00001FBE 6624 bne +0x26 /* 00001FE4 */
00001FC0 4878 0002 push.l 0x2
00001FC4 4EB9 0000 19EC jsr [0x000019EC]
00001FCA 584F addq.w A7, 4
00001FCC 6016 bra +0x18 /* 00001FE4 */
00001FCE 4857 pea.l [A7]
00001FD0 4EB9 0000 1D84 jsr [0x00001D84]
00001FD6 584F addq.w A7, 4
00001FD8 600A bra +0xC /* 00001FE4 */
00001FDA 4857 pea.l [A7]
00001FDC 4EB9 0000 1E80 jsr [0x00001E80]
00001FE2 584F addq.w A7, 4
label00001FE4:
00001FE4 4FEF 0010 lea.l A7, [A7 + 0x10]
00001FE8 261F move.l D3, [A7]+
00001FEA 4E75 rts
00001FEC 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00001FF0 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00001FF4 2468 009C movea.l A2, [A0 + 0x9C]
00001FF8 204A movea.l A0, A2
00001FFA A029 syscall HLock
00001FFC 2052 movea.l A0, [A2]
00001FFE 3628 003C move.w D3, [A0 + 0x3C]
00002002 3043 movea.w A0, D3
00002004 2008 move.l D0, A0
00002006 D0AD E1DC add.l D0, [A5 - 0x1E24]
0000200A 0C80 0000 7FFF cmpi.l D0, 0x7FFF
00002010 6F5E ble +0x60 /* 00002070 */
00002012 2808 move.l D4, A0
00002014 D8AD E1DC add.l D4, [A5 - 0x1E24]
00002018 0684 FFFF 8001 addi.l D4, 0xFFFF8001
0000201E 0644 1000 addi.w D4, 0x1000
00002022 2052 movea.l A0, [A2]
00002024 2068 003E movea.l A0, [A0 + 0x3E]
00002028 A029 syscall HLock
0000202A 2652 movea.l A3, [A2]
0000202C 266B 003E movea.l A3, [A3 + 0x3E]
00002030 2653 movea.l A3, [A3]
00002032 D6C4 add.w A3, D4
00002034 6002 bra +0x4 /* 00002038 */
label00002036:
00002036 528B addq.l A3, 1
label00002038:
00002038 0C13 000D cmpi.b [A3], 0xD /* '\r' */
0000203C 66F8 bne -0x6 /* 00002036 */
0000203E 2052 movea.l A0, [A2]
00002040 2068 003E movea.l A0, [A0 + 0x3E]
00002044 2050 movea.l A0, [A0]
00002046 D0C4 add.w A0, D4
00002048 528B addq.l A3, 1
0000204A 224B movea.l A1, A3
0000204C 93C8 sub.l A1, A0
0000204E 2009 move.l D0, A1
00002050 D840 add.w D4, D0
00002052 2052 movea.l A0, [A2]
00002054 2068 003E movea.l A0, [A0 + 0x3E]
00002058 A02A syscall HUnlock
0000205A 2052 movea.l A0, [A2]
0000205C 4268 0020 clr.w [A0 + 0x20]
00002060 2052 movea.l A0, [A2]
00002062 3144 0022 move.w [A0 + 0x22], D4
00002066 2F0A move.l -[A7], A2
00002068 A9D7 syscall TEDelete
0000206A 2052 movea.l A0, [A2]
0000206C 3628 003C move.w D3, [A0 + 0x3C]
label00002070:
00002070 2052 movea.l A0, [A2]
00002072 3143 0020 move.w [A0 + 0x20], D3
00002076 2052 movea.l A0, [A2]
00002078 3143 0022 move.w [A0 + 0x22], D3
0000207C 2F2D E1E0 move.l -[A7], [A5 - 0x1E20]
00002080 2F2D E1DC move.l -[A7], [A5 - 0x1E24]
00002084 2F0A move.l -[A7], A2
00002086 A9DE syscall TEInsert
00002088 2052 movea.l A0, [A2]
0000208A 3628 003C move.w D3, [A0 + 0x3C]
0000208E 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002092 117C 0001 00A7 move.b [A0 + 0xA7], 0x1
00002098 42AD E1DC clr.l [A5 - 0x1E24]
0000209C 3043 movea.w A0, D3
0000209E 2F08 move.l -[A7], A0
000020A0 2F08 move.l -[A7], A0
000020A2 2F0A move.l -[A7], A2
000020A4 A9D1 syscall TESetSelect
000020A6 204A movea.l A0, A2
000020A8 A02A syscall HUnlock
000020AA 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
000020B0 6608 bne +0xA /* 000020BA */
000020B2 4EB9 0000 1F00 jsr [0x00001F00 /* MemVectors32 */]
000020B8 6006 bra +0x8 /* 000020C0 */
label000020BA:
000020BA 4EB9 0000 344A jsr [0x0000344A]
label000020C0:
000020C0 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
000020C4 4E75 rts
000020C6 48E7 1800 movem.l -[A7], D3,D4
000020CA 7600 moveq.l D3, 0x00
000020CC 7800 moveq.l D4, 0x00
000020CE 102F 000C move.b D0, [A7 + 0xC]
000020D2 4880 ext.w D0
000020D4 4EB9 0000 0466 jsr [0x00000466]
000020DA 0076 0041 0078 ori.w [A6 + D0.w + 0x78], 0x41 /* 'A' */
000020E0 000D 0041 ori.b A5, 0x41 /* 'A' */
000020E4 0066 0043 ori.w -[A6], 0x43 /* 'C' */
000020E8 0052 0050 ori.w [A2], 0x50 /* 'P' */
000020EC 0036 0051 003A ori.b [A6 + D0.w + 0x3A], 0x51 /* 'Q' */
000020F2 0053 0026 ori.w [A3], 0x26 /* '&' */
000020F6 0056 004A ori.w [A6], 0x4A /* 'J' */
000020FA 0058 0036 ori.w [A0]+, 0x36 /* '6' */
000020FE 0061 004A ori.w -[A1], 0x4A /* 'J' */
00002102 0063 0036 ori.w -[A3], 0x36 /* '6' */
00002106 0070 001A 0071 ori.w [A0 + D0.w + 0x71], 0x1A
0000210C 001E 0073 ori.b [A6]+, 0x73 /* 's' */
00002110 000A 0076 ori.b A2, 0x76 /* 'v' */
00002114 002E 0078 001A ori.b [A6 + 0x1A], 0x78 /* 'x' */
0000211A 363C 7D01 move.w D3, 0x7D01
0000211E 7804 moveq.l D4, 0x04
00002120 602E bra +0x30 /* 00002150 */
00002122 363C 7D01 move.w D3, 0x7D01
00002126 7807 moveq.l D4, 0x07
00002128 6026 bra +0x28 /* 00002150 */
0000212A 363C 7D01 move.w D3, 0x7D01
0000212E 7809 moveq.l D4, 0x09
00002130 601E bra +0x20 /* 00002150 */
00002132 363C 7D02 move.w D3, 0x7D02
00002136 7803 moveq.l D4, 0x03
00002138 6016 bra +0x18 /* 00002150 */
0000213A 363C 7D02 move.w D3, 0x7D02
0000213E 7804 moveq.l D4, 0x04
00002140 600E bra +0x10 /* 00002150 */
00002142 363C 7D02 move.w D3, 0x7D02
00002146 7805 moveq.l D4, 0x05
00002148 6006 bra +0x8 /* 00002150 */
0000214A 363C 7D02 move.w D3, 0x7D02
0000214E 7808 moveq.l D4, 0x08
label00002150:
00002150 3044 movea.w A0, D4
00002152 3243 movea.w A1, D3
00002154 2009 move.l D0, A1
00002156 7210 moveq.l D1, 0x10
00002158 E3A8 lsl D0, D1
0000215A 2208 move.l D1, A0
0000215C 8081 or.l D0, D1
0000215E 4CDF 0018 movem.l D3,D4, [A7]+
00002162 4E75 rts
00002164 206F 0006 movea.l A0, [A7 + 0x6]
00002168 2050 movea.l A0, [A0]
0000216A 3028 0020 move.w D0, [A0 + 0x20]
0000216E B06F 0004 cmp.w D0, [A7 + 0x4]
00002172 6D10 blt +0x12 /* 00002184 */
00002174 206F 0006 movea.l A0, [A7 + 0x6]
00002178 2050 movea.l A0, [A0]
0000217A 3028 0022 move.w D0, [A0 + 0x22]
0000217E B06F 0004 cmp.w D0, [A7 + 0x4]
00002182 6C0A bge +0xC /* 0000218E */
label00002184:
00002184 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002188 A9C8 syscall SysBeep
0000218A 7000 moveq.l D0, 0x00
0000218C 4E75 rts
label0000218E:
0000218E 7001 moveq.l D0, 0x01
00002190 4E75 rts
00002192 48E7 1820 movem.l -[A7], D3,D4,A2
00002196 4FEF FFEC lea.l A7, [A7 - 0x14]
0000219A 246F 0024 movea.l A2, [A7 + 0x24]
0000219E 4A6D E1F0 tst.w [A5 - 0x1E10]
000021A2 6606 bne +0x8 /* 000021AA */
000021A4 7000 moveq.l D0, 0x00
000021A6 6000 02A4 bra +0x2A6 /* 0000244C */
label000021AA:
000021AA 200A move.l D0, A2
000021AC 6710 beq +0x12 /* 000021BE */
000021AE 41D2 lea.l A0, [A2]
000021B0 43EF 0004 lea.l A1, [A7 + 0x4]
000021B4 22D8 move.l [A1]+, [A0]+
000021B6 22D8 move.l [A1]+, [A0]+
000021B8 22D8 move.l [A1]+, [A0]+
000021BA 22D8 move.l [A1]+, [A0]+
000021BC 602A bra +0x2C /* 000021E8 */
label000021BE:
000021BE 4A2D E1EC tst.b [A5 - 0x1E14]
000021C2 6714 beq +0x16 /* 000021D8 */
000021C4 554F subq.w A7, 2
000021C6 3F3C FFFF move.w -[A7], 0xFFFF
000021CA 486F 0008 pea.l [A7 + 0x8]
000021CE 42A7 clr.l -[A7]
000021D0 42A7 clr.l -[A7]
000021D2 A860 syscall WaitNextEvent
000021D4 101F move.b D0, [A7]+
000021D6 6010 bra +0x12 /* 000021E8 */
label000021D8:
000021D8 A9B4 syscall SystemTask
000021DA 554F subq.w A7, 2
000021DC 3F3C FFFF move.w -[A7], 0xFFFF
000021E0 486F 0008 pea.l [A7 + 0x8]
000021E4 A970 syscall GetNextEvent
000021E6 101F move.b D0, [A7]+
label000021E8:
000021E8 594F subq.w A7, 4
000021EA A924 syscall FrontWindow
000021EC 205F movea.l A0, [A7]+
000021EE 2448 movea.l A2, A0
000021F0 302F 0004 move.w D0, [A7 + 0x4]
000021F4 0C40 0008 cmpi.w D0, 0x8
000021F8 6200 0250 bhi +0x252 /* 0000244A */
000021FC D040 add.w D0, D0
000021FE 303B 0006 move.w D0, [PC + D0.w + 0x6]
00002202 4EFB 0002 jmp [PC + D0.w + 0x2]
00002206 0012 008C ori.b [A2], 0x8C
0000220A 0244 00A4 andi.w D4, 0xA4
0000220E 0244 00A4 andi.w D4, 0xA4
00002212 0230 0244 0230 andi.b [A0 + D0.w * 2 + 0x30], 0x44 /* 'D' */
00002218 2F0A move.l -[A7], A2
0000221A 4EB9 0000 32C8 jsr [0x000032C8]
00002220 4A00 tst.b D0
00002222 584F addq.w A7, 4
00002224 6758 beq +0x5A /* 0000227E */
00002226 4857 pea.l [A7]
00002228 A874 syscall GetPort
0000222A 2F0A move.l -[A7], A2
0000222C A873 syscall SetPort
0000222E 486F 000E pea.l [A7 + 0xE]
00002232 A871 syscall GlobalToLocal
00002234 554F subq.w A7, 2
00002236 2F2F 0010 move.l -[A7], [A7 + 0x10]
0000223A 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000223E 2068 009C movea.l A0, [A0 + 0x9C]
00002242 2050 movea.l A0, [A0]
00002244 4868 0008 pea.l [A0 + 0x8]
00002248 A8AD syscall PtInRect
0000224A 101F move.b D0, [A7]+
0000224C 6710 beq +0x12 /* 0000225E */
0000224E 4AAD E1D2 tst.l [A5 - 0x1E2E]
00002252 670A beq +0xC /* 0000225E */
00002254 206D E1D2 movea.l A0, [A5 - 0x1E2E]
00002258 2F10 move.l -[A7], [A0]
0000225A A851 syscall SetCursor
0000225C 6006 bra +0x8 /* 00002264 */
label0000225E:
0000225E 486D 9AD0 pea.l [A5 - 0x6530]
00002262 A851 syscall SetCursor
label00002264:
00002264 486F 000E pea.l [A7 + 0xE]
00002268 A870 syscall LocalToGlobal
0000226A 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000226E 2F28 009C move.l -[A7], [A0 + 0x9C]
00002272 A9DA syscall TEIdle
00002274 2F17 move.l -[A7], [A7]
00002276 A873 syscall SetPort
00002278 7001 moveq.l D0, 0x01
0000227A 6000 01D0 bra +0x1D2 /* 0000244C */
label0000227E:
0000227E 486D 9AD0 pea.l [A5 - 0x6530]
00002282 A851 syscall SetCursor
00002284 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002288 2F28 009C move.l -[A7], [A0 + 0x9C]
0000228C A9DA syscall TEIdle
0000228E 6000 01BA bra +0x1BC /* 0000244A */
00002292 486F 0004 pea.l [A7 + 0x4]
00002296 4EB9 0000 1D84 jsr [0x00001D84]
0000229C 4A00 tst.b D0
0000229E 584F addq.w A7, 4
000022A0 6700 01A8 beq +0x1AA /* 0000244A */
000022A4 7001 moveq.l D0, 0x01
000022A6 6000 01A4 bra +0x1A6 /* 0000244C */
000022AA 2F0A move.l -[A7], A2
000022AC 4EB9 0000 32C8 jsr [0x000032C8]
000022B2 4A00 tst.b D0
000022B4 584F addq.w A7, 4
000022B6 6700 0192 beq +0x194 /* 0000244A */
000022BA 262F 0006 move.l D3, [A7 + 0x6]
000022BE 0283 0000 00FF andi.l D3, 0xFF
000022C4 082F 0000 0012 btst.b [A7 + 0x12], 0x0
000022CA 675A beq +0x5C /* 00002326 */
000022CC 0C2D 0004 E1EA cmpi.b [A5 - 0x1E16], 0x4
000022D2 6712 beq +0x14 /* 000022E6 */
000022D4 0C03 002E cmpi.b D3, 0x2E /* '.' */
000022D8 660C bne +0xE /* 000022E6 */
000022DA 4878 0002 push.l 0x2
000022DE 4EB9 0000 19EC jsr [0x000019EC]
000022E4 584F addq.w A7, 4
label000022E6:
000022E6 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
000022EC 6620 bne +0x22 /* 0000230E */
000022EE 4EB9 0000 2996 jsr [0x00002996]
000022F4 594F subq.w A7, 4
000022F6 1003 move.b D0, D3
000022F8 4880 ext.w D0
000022FA 3F00 move.w -[A7], D0
000022FC A93E syscall MenuKey
000022FE 201F move.l D0, [A7]+
00002300 2F00 move.l -[A7], D0
00002302 4EB9 0000 2CC0 jsr [0x00002CC0]
00002308 584F addq.w A7, 4
0000230A 6000 013E bra +0x140 /* 0000244A */
label0000230E:
0000230E 1F03 move.b -[A7], D3
00002310 4EB9 0000 20CA jsr [0x000020CA]
00002316 544F addq.w A7, 2
00002318 2F00 move.l -[A7], D0
0000231A 4EB9 0000 2CC0 jsr [0x00002CC0]
00002320 584F addq.w A7, 4
00002322 6000 0126 bra +0x128 /* 0000244A */
label00002326:
00002326 0C03 0003 cmpi.b D3, 0x3
0000232A 6602 bne +0x4 /* 0000232E */
0000232C 760D moveq.l D3, 0x0D
label0000232E:
0000232E 0C2D 0003 E1EA cmpi.b [A5 - 0x1E16], 0x3
00002334 6600 00C8 bne +0xCA /* 000023FE */
00002338 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000233C 2068 009C movea.l A0, [A0 + 0x9C]
00002340 2050 movea.l A0, [A0]
00002342 3028 003C move.w D0, [A0 + 0x3C]
00002346 906D E1F2 sub.w D0, [A5 - 0x1E0E]
0000234A 5240 addq.w D0, 1
0000234C B06D E1D6 cmp.w D0, [A5 - 0x1E2A]
00002350 6D0C blt +0xE /* 0000235E */
00002352 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002356 A9C8 syscall SysBeep
00002358 7000 moveq.l D0, 0x00
0000235A 6000 00F0 bra +0xF2 /* 0000244C */
label0000235E:
0000235E 1003 move.b D0, D3
00002360 4880 ext.w D0
00002362 4EB9 0000 0466 jsr [0x00000466]
00002368 0056 0003 ori.w [A6], 0x3
0000236C 001A 0004 ori.b [A2]+, 0x4
00002370 0003 001C ori.b D3, 0x1C
00002374 0004 000E ori.b D4, 0xE
00002378 0008 0022 ori.b A0, 0x22 /* '\"' */
0000237C 000D 0008 ori.b A5, 0x8
00002380 001A 0002 ori.b [A2]+, 0x2
00002384 7603 moveq.l D3, 0x03
00002386 1B7C 0001 E1EA move.b [A5 - 0x1E16], 0x1
0000238C 6030 bra +0x32 /* 000023BE */
0000238E 4878 0002 push.l 0x2
00002392 4EB9 0000 19EC jsr [0x000019EC]
00002398 584F addq.w A7, 4
0000239A 6022 bra +0x24 /* 000023BE */
0000239C 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000023A0 2F28 009C move.l -[A7], [A0 + 0x9C]
000023A4 302D E1F2 move.w D0, [A5 - 0x1E0E]
000023A8 5240 addq.w D0, 1
000023AA 3F00 move.w -[A7], D0
000023AC 4EB9 0000 2168 jsr [0x00002168]
000023B2 4A00 tst.b D0
000023B4 5C4F addq.w A7, 6
000023B6 6606 bne +0x8 /* 000023BE */
000023B8 7000 moveq.l D0, 0x00
000023BA 6000 0090 bra +0x92 /* 0000244C */
label000023BE:
000023BE 1003 move.b D0, D3
000023C0 4880 ext.w D0
000023C2 0C40 0020 cmpi.w D0, 0x20 /* ' ' */
000023C6 6D36 blt +0x38 /* 000023FE */
000023C8 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000023CC 2F28 009C move.l -[A7], [A0 + 0x9C]
000023D0 3F2D E1F2 move.w -[A7], [A5 - 0x1E0E]
000023D4 4EB9 0000 2168 jsr [0x00002168]
000023DA 4A00 tst.b D0
000023DC 5C4F addq.w A7, 6
000023DE 661E bne +0x20 /* 000023FE */
000023E0 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000023E4 2068 009C movea.l A0, [A0 + 0x9C]
000023E8 2050 movea.l A0, [A0]
000023EA 3268 003C movea.w A1, [A0 + 0x3C]
000023EE 2809 move.l D4, A1
000023F0 2F04 move.l -[A7], D4
000023F2 2F04 move.l -[A7], D4
000023F4 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000023F8 2F28 009C move.l -[A7], [A0 + 0x9C]
000023FC A9D1 syscall TESetSelect
label000023FE:
000023FE 1003 move.b D0, D3
00002400 4880 ext.w D0
00002402 3F00 move.w -[A7], D0
00002404 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002408 2F28 009C move.l -[A7], [A0 + 0x9C]
0000240C A9DC syscall TEKey
0000240E 4EB9 0000 344A jsr [0x0000344A]
00002414 1003 move.b D0, D3
00002416 4880 ext.w D0
00002418 0C40 001C cmpi.w D0, 0x1C
0000241C 6D0A blt +0xC /* 00002428 */
0000241E 1003 move.b D0, D3
00002420 4880 ext.w D0
00002422 0C40 001F cmpi.w D0, 0x1F
00002426 6F0A ble +0xC /* 00002432 */
label00002428:
00002428 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000242C 117C 0001 00A7 move.b [A0 + 0xA7], 0x1
label00002432:
00002432 7001 moveq.l D0, 0x01
00002434 6016 bra +0x18 /* 0000244C */
00002436 486F 0004 pea.l [A7 + 0x4]
0000243A 4EB9 0000 1E80 jsr [0x00001E80]
00002440 4A00 tst.b D0
00002442 584F addq.w A7, 4
00002444 6704 beq +0x6 /* 0000244A */
00002446 7001 moveq.l D0, 0x01
00002448 6002 bra +0x4 /* 0000244C */
label0000244A:
0000244A 7000 moveq.l D0, 0x00
label0000244C:
0000244C 4FEF 0014 lea.l A7, [A7 + 0x14]
00002450 4CDF 0418 movem.l D3,D4,A2, [A7]+
00002454 4E75 rts
00002456 4FEF FEFE lea.l A7, [A7 - 0x102]
0000245A 4AAD E1E6 tst.l [A5 - 0x1E1A]
0000245E 6700 0090 beq +0x92 /* 000024F0 */
00002462 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002466 4A28 00A7 tst.b [A0 + 0xA7]
0000246A 675C beq +0x5E /* 000024C8 */
0000246C 082D 0004 FD06 btst.b [A5 - 0x2FA], 0x4
00002472 6754 beq +0x56 /* 000024C8 */
00002474 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00002478 486F 0006 pea.l [A7 + 0x6]
0000247C A919 syscall GetWTitle
0000247E 486D 9AD0 pea.l [A5 - 0x6530]
00002482 A851 syscall SetCursor
00002484 486F 0002 pea.l [A7 + 0x2]
00002488 4EB9 0000 3FA8 jsr [0x00003FA8]
0000248E 3F40 0004 move.w [A7 + 0x4], D0
00002492 302F 0004 move.w D0, [A7 + 0x4]
00002496 584F addq.w A7, 4
00002498 5340 subq.w D0, 1
0000249A 670A beq +0xC /* 000024A6 */
0000249C 5340 subq.w D0, 1
0000249E 6728 beq +0x2A /* 000024C8 */
000024A0 5340 subq.w D0, 1
000024A2 671C beq +0x1E /* 000024C0 */
000024A4 6022 bra +0x24 /* 000024C8 */
label000024A6:
000024A6 4EB9 0000 2A92 jsr [0x00002A92]
000024AC 4A00 tst.b D0
000024AE 6618 bne +0x1A /* 000024C8 */
000024B0 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
000024B6 6610 bne +0x12 /* 000024C8 */
000024B8 422D E1EE clr.b [A5 - 0x1E12]
000024BC 7000 moveq.l D0, 0x00
000024BE 6032 bra +0x34 /* 000024F2 */
label000024C0:
000024C0 422D E1EE clr.b [A5 - 0x1E12]
000024C4 7000 moveq.l D0, 0x00
000024C6 602A bra +0x2C /* 000024F2 */
label000024C8:
000024C8 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
000024CC A956 syscall KillControls
000024CE 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000024D2 2F28 009C move.l -[A7], [A0 + 0x9C]
000024D6 A9CD syscall TEDispose
000024D8 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
000024DC A92D syscall CloseWindow
000024DE 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000024E2 A01F syscall DisposPtr/DisposePtr
000024E4 42AD E1E6 clr.l [A5 - 0x1E1A]
000024E8 42AD E1DC clr.l [A5 - 0x1E24]
000024EC 426D E1F0 clr.w [A5 - 0x1E10]
label000024F0:
000024F0 7001 moveq.l D0, 0x01
label000024F2:
000024F2 4FEF 0102 lea.l A7, [A7 + 0x102]
000024F6 4E75 rts
000024F8 594F subq.w A7, 4
000024FA 4A2D E1EE tst.b [A5 - 0x1E12]
000024FE 6606 bne +0x8 /* 00002506 */
00002500 4A6D E1F0 tst.w [A5 - 0x1E10]
00002504 6706 beq +0x8 /* 0000250C */
label00002506:
00002506 7000 moveq.l D0, 0x00
00002508 584F addq.w A7, 4
0000250A 4E75 rts
label0000250C:
0000250C 082D 0007 FD06 btst.b [A5 - 0x2FA], 0x7
00002512 670C beq +0xE /* 00002520 */
00002514 4A2D E1E4 tst.b [A5 - 0x1E1C]
00002518 6606 bne +0x8 /* 00002520 */
0000251A 4EB9 0000 1CBC jsr [0x00001CBC]
label00002520:
00002520 203C 0000 0200 move.l D0, 0x200
00002526 A11E syscall NewPtr, flags=1
00002528 2B48 E1E0 move.l [A5 - 0x1E20], A0
0000252C 2008 move.l D0, A0
0000252E 6606 bne +0x8 /* 00002536 */
00002530 70FF moveq.l D0, 0xFFFFFFFF
00002532 584F addq.w A7, 4
00002534 4E75 rts
label00002536:
00002536 082D 0006 FD06 btst.b [A5 - 0x2FA], 0x6
0000253C 6706 beq +0x8 /* 00002544 */
0000253E 4EB9 0000 291A jsr [0x0000291A]
label00002544:
00002544 4EB9 0000 38C2 jsr [0x000038C2]
0000254A 4A00 tst.b D0
0000254C 675A beq +0x5C /* 000025A8 */
0000254E 082D 0006 FD06 btst.b [A5 - 0x2FA], 0x6
00002554 6708 beq +0xA /* 0000255E */
00002556 3B7C 0001 E1F0 move.w [A5 - 0x1E10], 0x1
0000255C 600C bra +0xE /* 0000256A */
label0000255E:
0000255E 3B7C FFFF E1F0 move.w [A5 - 0x1E10], 0xFFFF
00002564 002D 0020 FD06 ori.b [A5 - 0x2FA], 0x20 /* ' ' */
label0000256A:
0000256A 1B7C 0001 E1EA move.b [A5 - 0x1E16], 0x1
00002570 303C A89F move.w D0, 0xA89F
00002574 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002576 2E88 move.l [A7], A0
00002578 303C A860 move.w D0, 0xA860
0000257C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000257E B1D7 cmpa.l A0, [A7]
00002580 6706 beq +0x8 /* 00002588 */
00002582 1B7C 0001 E1EC move.b [A5 - 0x1E14], 0x1
label00002588:
00002588 594F subq.w A7, 4
0000258A 3F3C 0001 move.w -[A7], 0x1
0000258E A9B9 syscall GetCursor
00002590 205F movea.l A0, [A7]+
00002592 2B48 E1D2 move.l [A5 - 0x1E2E], A0
00002596 2008 move.l D0, A0
00002598 6708 beq +0xA /* 000025A2 */
0000259A 206D E1D2 movea.l A0, [A5 - 0x1E2E]
0000259E A064 syscall MoveHHi
000025A0 A029 syscall HLock
label000025A2:
000025A2 7000 moveq.l D0, 0x00
000025A4 584F addq.w A7, 4
000025A6 4E75 rts
label000025A8:
000025A8 70FF moveq.l D0, 0xFFFFFFFF
000025AA 584F addq.w A7, 4
000025AC 4E75 rts
000025AE 4A6D E1F0 tst.w [A5 - 0x1E10]
000025B2 6706 beq +0x8 /* 000025BA */
000025B4 4AAD E1E6 tst.l [A5 - 0x1E1A]
000025B8 6602 bne +0x4 /* 000025BC */
label000025BA:
000025BA 4E75 rts
label000025BC:
000025BC 4A2D DE66 tst.b [A5 - 0x219A]
000025C0 6708 beq +0xA /* 000025CA */
000025C2 1B7C 0005 E1EA move.b [A5 - 0x1E16], 0x5
000025C8 6006 bra +0x8 /* 000025D0 */
label000025CA:
000025CA 1B7C 0004 E1EA move.b [A5 - 0x1E16], 0x4
label000025D0:
000025D0 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
000025D4 4EB9 0000 34F8 jsr [0x000034F8]
000025DA 426D E1F2 clr.w [A5 - 0x1E0E]
000025DE 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000025E2 2F28 009C move.l -[A7], [A0 + 0x9C]
000025E6 A9D8 syscall TEActivate
000025E8 4EB9 0000 344A jsr [0x0000344A]
000025EE 082D 0005 FD06 btst.b [A5 - 0x2FA], 0x5
000025F4 584F addq.w A7, 4
000025F6 6712 beq +0x14 /* 0000260A */
000025F8 1B7C 0001 E1EE move.b [A5 - 0x1E12], 0x1
000025FE 600A bra +0xC /* 0000260A */
label00002600:
00002600 42A7 clr.l -[A7]
00002602 4EB9 0000 2196 jsr [0x00002196]
00002608 584F addq.w A7, 4
label0000260A:
0000260A 4A2D E1EE tst.b [A5 - 0x1E12]
0000260E 67F0 beq -0xE /* 00002600 */
00002610 4EB9 0000 245A jsr [0x0000245A]
00002616 4A00 tst.b D0
00002618 67E6 beq -0x18 /* 00002600 */
0000261A 422D E1EA clr.b [A5 - 0x1E16]
0000261E 4E75 rts
00002620 48E7 1F20 movem.l -[A7], D3,D4,D5,D6,D7,A2
00002624 246F 0020 movea.l A2, [A7 + 0x20]
00002628 4A2D E1EE tst.b [A5 - 0x1E12]
0000262C 6706 beq +0x8 /* 00002634 */
0000262E 7000 moveq.l D0, 0x00
00002630 6000 0202 bra +0x204 /* 00002834 */
label00002634:
00002634 1B7C 0002 E1EA move.b [A5 - 0x1E16], 0x2
0000263A 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
0000263E 4EB9 0000 34F8 jsr [0x000034F8]
00002644 280A move.l D4, A2
00002646 584F addq.w A7, 4
00002648 6000 01CA bra +0x1CC /* 00002814 */
label0000264C:
0000264C 206F 001C movea.l A0, [A7 + 0x1C]
00002650 52AF 001C addq.l [A7 + 0x1C], 1
00002654 1610 move.b D3, [A0]
00002656 1003 move.b D0, D3
00002658 4880 ext.w D0
0000265A 5F40 subq.w D0, 7
0000265C 0C40 0006 cmpi.w D0, 0x6
00002660 6200 0190 bhi +0x192 /* 000027F2 */
00002664 D040 add.w D0, D0
00002666 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000266A 4EFB 0002 jmp [PC + D0.w + 0x2]
0000266E 013C 0144 btst 0x44 /* 'D' */, D0
00002672 0082 0024 0194 ori.l D2, 0x240194
00002678 00F8 000E ori.? [0x0000000E], 0xFFFFFFFFFFFFFFFF
0000267C 202D E1DC move.l D0, [A5 - 0x1E24]
00002680 52AD E1DC addq.l [A5 - 0x1E24], 1
00002684 206D E1E0 movea.l A0, [A5 - 0x1E20]
00002688 11BC 000D 0800 move.b [A0 + D0], 0xD /* '\r' */
0000268E 6000 0172 bra +0x174 /* 00002802 */
00002692 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002696 2F28 009C move.l -[A7], [A0 + 0x9C]
0000269A 4EB9 0000 1CE6 jsr [0x00001CE6]
000026A0 3600 move.w D3, D0
000026A2 3043 movea.w A0, D3
000026A4 B1ED E1DC cmpa.l A0, [A5 - 0x1E24]
000026A8 584F addq.w A7, 4
000026AA 6E0A bgt +0xC /* 000026B6 */
000026AC 2008 move.l D0, A0
000026AE 91AD E1DC sub.l [A5 - 0x1E24], D0
000026B2 6000 014E bra +0x150 /* 00002802 */
label000026B6:
000026B6 966D E1DE sub.w D3, [A5 - 0x1E22]
000026BA 42AD E1DC clr.l [A5 - 0x1E24]
000026BE 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000026C2 2068 009C movea.l A0, [A0 + 0x9C]
000026C6 2050 movea.l A0, [A0]
000026C8 3A28 003C move.w D5, [A0 + 0x3C]
000026CC 3005 move.w D0, D5
000026CE 9043 sub.w D0, D3
000026D0 48C0 ext.l D0
000026D2 2F00 move.l -[A7], D0
000026D4 3045 movea.w A0, D5
000026D6 2F08 move.l -[A7], A0
000026D8 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000026DC 2F28 009C move.l -[A7], [A0 + 0x9C]
000026E0 A9D1 syscall TESetSelect
000026E2 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000026E6 2F28 009C move.l -[A7], [A0 + 0x9C]
000026EA A9D7 syscall TEDelete
000026EC 6000 0114 bra +0x116 /* 00002802 */
000026F0 4A6D FD08 tst.w [A5 - 0x2F8]
000026F4 675A beq +0x5C /* 00002750 */
000026F6 306D FD08 movea.w A0, [A5 - 0x2F8]
000026FA 202D E1DC move.l D0, [A5 - 0x1E24]
000026FE D088 add.l D0, A0
00002700 0C80 0000 0200 cmpi.l D0, 0x200
00002706 6F06 ble +0x8 /* 0000270E */
00002708 4EB9 0000 1FF0 jsr [0x00001FF0 /* SCSI2Base */]
label0000270E:
0000270E 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002712 2F28 009C move.l -[A7], [A0 + 0x9C]
00002716 4EB9 0000 1CE6 jsr [0x00001CE6]
0000271C 3600 move.w D3, D0
0000271E 3C2D FD08 move.w D6, [A5 - 0x2F8]
00002722 3043 movea.w A0, D3
00002724 2008 move.l D0, A0
00002726 81C6 divs.w D0, D6
00002728 4840 swap.w D0
0000272A 3E06 move.w D7, D6
0000272C 9E40 sub.w D7, D0
0000272E 7600 moveq.l D3, 0x00
00002730 584F addq.w A7, 4
00002732 6014 bra +0x16 /* 00002748 */
label00002734:
00002734 202D E1DC move.l D0, [A5 - 0x1E24]
00002738 52AD E1DC addq.l [A5 - 0x1E24], 1
0000273C 206D E1E0 movea.l A0, [A5 - 0x1E20]
00002740 11BC 0020 0800 move.b [A0 + D0], 0x20 /* ' ' */
00002746 5243 addq.w D3, 1
label00002748:
00002748 B647 cmp.w D3, D7
0000274A 6DE8 blt -0x16 /* 00002734 */
0000274C 6000 00B4 bra +0xB6 /* 00002802 */
label00002750:
00002750 202D E1DC move.l D0, [A5 - 0x1E24]
00002754 52AD E1DC addq.l [A5 - 0x1E24], 1
00002758 206D E1E0 movea.l A0, [A5 - 0x1E20]
0000275C 11BC 0009 0800 move.b [A0 + D0], 0x9 /* '\t' */
00002762 6000 009E bra +0xA0 /* 00002802 */
00002766 42AD E1DC clr.l [A5 - 0x1E24]
0000276A 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000276E 2068 009C movea.l A0, [A0 + 0x9C]
00002772 A029 syscall HLock
00002774 42A7 clr.l -[A7]
00002776 4878 7FFF push.l 0x7FFF
0000277A 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000277E 2F28 009C move.l -[A7], [A0 + 0x9C]
00002782 A9D1 syscall TESetSelect
00002784 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002788 2F28 009C move.l -[A7], [A0 + 0x9C]
0000278C A9D7 syscall TEDelete
0000278E 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002792 2068 009C movea.l A0, [A0 + 0x9C]
00002796 A02A syscall HUnlock
00002798 4EB9 0000 344A jsr [0x0000344A]
0000279E 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000027A2 117C 0001 00A7 move.b [A0 + 0xA7], 0x1
000027A8 6058 bra +0x5A /* 00002802 */
000027AA 3F3C 0001 move.w -[A7], 0x1
000027AE A9C8 syscall SysBeep
000027B0 6050 bra +0x52 /* 00002802 */
000027B2 4AAD E1DC tst.l [A5 - 0x1E24]
000027B6 6706 beq +0x8 /* 000027BE */
000027B8 53AD E1DC subq.l [A5 - 0x1E24], 1
000027BC 6044 bra +0x46 /* 00002802 */
label000027BE:
000027BE 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000027C2 2068 009C movea.l A0, [A0 + 0x9C]
000027C6 2050 movea.l A0, [A0]
000027C8 3628 003C move.w D3, [A0 + 0x3C]
000027CC 4A43 tst.w D3
000027CE 6F32 ble +0x34 /* 00002802 */
000027D0 3003 move.w D0, D3
000027D2 5340 subq.w D0, 1
000027D4 48C0 ext.l D0
000027D6 2F00 move.l -[A7], D0
000027D8 3043 movea.w A0, D3
000027DA 2F08 move.l -[A7], A0
000027DC 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000027E0 2F28 009C move.l -[A7], [A0 + 0x9C]
000027E4 A9D1 syscall TESetSelect
000027E6 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000027EA 2F28 009C move.l -[A7], [A0 + 0x9C]
000027EE A9D7 syscall TEDelete
000027F0 6010 bra +0x12 /* 00002802 */
label000027F2:
000027F2 202D E1DC move.l D0, [A5 - 0x1E24]
000027F6 52AD E1DC addq.l [A5 - 0x1E24], 1
000027FA 206D E1E0 movea.l A0, [A5 - 0x1E20]
000027FE 1183 0800 move.b [A0 + D0], D3
label00002802:
00002802 0CAD 0000 0200 E1DC cmpi.l [A5 - 0x1E24], 0x200
0000280A 6606 bne +0x8 /* 00002812 */
0000280C 4EB9 0000 1FF0 jsr [0x00001FF0 /* SCSI2Base */]
label00002812:
00002812 5344 subq.w D4, 1
label00002814:
00002814 4A44 tst.w D4
00002816 6E00 FE34 bgt -0x1CA /* 0000264C */
0000281A 4EB9 0000 1FF0 jsr [0x00001FF0 /* SCSI2Base */]
00002820 1B7C 0001 E1EA move.b [A5 - 0x1E16], 0x1
00002826 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
0000282A 4EB9 0000 34F8 jsr [0x000034F8]
00002830 200A move.l D0, A2
00002832 584F addq.w A7, 4
label00002834:
00002834 4CDF 04F8 movem.l D3,D4,D5,D6,D7,A2, [A7]+
00002838 4E75 rts
0000283A 7000 moveq.l D0, 0x00
0000283C 6002 bra +0x4 /* 00002840 */
label0000283E:
0000283E 5280 addq.l D0, 1
label00002840:
00002840 206F 0004 movea.l A0, [A7 + 0x4]
00002844 52AF 0004 addq.l [A7 + 0x4], 1
00002848 4A10 tst.b [A0]
0000284A 66F2 bne -0xC /* 0000283E */
0000284C 4E75 rts
0000284E 2F03 move.l -[A7], D3
00002850 594F subq.w A7, 4
00002852 594F subq.w A7, 4
00002854 42A7 clr.l -[A7]
00002856 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
0000285C 486F 000C pea.l [A7 + 0xC]
00002860 A9FD syscall GetScrap
00002862 201F move.l D0, [A7]+
00002864 2600 move.l D3, D0
00002866 4A80 tst.l D0
00002868 6C04 bge +0x6 /* 0000286E */
0000286A 3003 move.w D0, D3
0000286C 6058 bra +0x5A /* 000028C6 */
label0000286E:
0000286E 0C83 0000 7D00 cmpi.l D3, 0x7D00 /* '}\0' */
00002874 6F06 ble +0x8 /* 0000287C */
00002876 303C FE0B move.w D0, 0xFE0B
0000287A 604A bra +0x4C /* 000028C6 */
label0000287C:
0000287C 594F subq.w A7, 4
0000287E 2EB8 0AB4 move.l [A7], [0x00000AB4 /* TEScrpHandle */]
00002882 205F movea.l A0, [A7]+
00002884 A029 syscall HLock
00002886 594F subq.w A7, 4
00002888 594F subq.w A7, 4
0000288A 2EB8 0AB4 move.l [A7], [0x00000AB4 /* TEScrpHandle */]
0000288E 205F movea.l A0, [A7]+
00002890 2F08 move.l -[A7], A0
00002892 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00002898 486F 000C pea.l [A7 + 0xC]
0000289C A9FD syscall GetScrap
0000289E 201F move.l D0, [A7]+
000028A0 2600 move.l D3, D0
000028A2 4A80 tst.l D0
000028A4 6C0E bge +0x10 /* 000028B4 */
000028A6 594F subq.w A7, 4
000028A8 2EB8 0AB4 move.l [A7], [0x00000AB4 /* TEScrpHandle */]
000028AC 205F movea.l A0, [A7]+
000028AE A02A syscall HUnlock
000028B0 3003 move.w D0, D3
000028B2 6012 bra +0x14 /* 000028C6 */
label000028B4:
000028B4 594F subq.w A7, 4
000028B6 2EB8 0AB4 move.l [A7], [0x00000AB4 /* TEScrpHandle */]
000028BA 205F movea.l A0, [A7]+
000028BC A02A syscall HUnlock
000028BE 3F03 move.w -[A7], D3
000028C0 31DF 0AB0 move.w [0x00000AB0 /* TEScrpLength */], [A7]+
000028C4 7000 moveq.l D0, 0x00
label000028C6:
000028C6 584F addq.w A7, 4
000028C8 261F move.l D3, [A7]+
000028CA 4E75 rts
000028CC 594F subq.w A7, 4
000028CE 594F subq.w A7, 4
000028D0 A9FC syscall ZeroScrap
000028D2 201F move.l D0, [A7]+
000028D4 594F subq.w A7, 4
000028D6 2EB8 0AB4 move.l [A7], [0x00000AB4 /* TEScrpHandle */]
000028DA 205F movea.l A0, [A7]+
000028DC A029 syscall HLock
000028DE 594F subq.w A7, 4
000028E0 554F subq.w A7, 2
000028E2 3EB8 0AB0 move.w [A7], [0x00000AB0 /* TEScrpLength */]
000028E6 301F move.w D0, [A7]+
000028E8 7200 moveq.l D1, 0x00
000028EA 3200 move.w D1, D0
000028EC 2F01 move.l -[A7], D1
000028EE 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
000028F4 594F subq.w A7, 4
000028F6 2EB8 0AB4 move.l [A7], [0x00000AB4 /* TEScrpHandle */]
000028FA 205F movea.l A0, [A7]+
000028FC 2F10 move.l -[A7], [A0]
000028FE A9FE syscall PutScrap
00002900 201F move.l D0, [A7]+
00002902 2E80 move.l [A7], D0
00002904 594F subq.w A7, 4
00002906 2EB8 0AB4 move.l [A7], [0x00000AB4 /* TEScrpHandle */]
0000290A 205F movea.l A0, [A7]+
0000290C A02A syscall HUnlock
0000290E 302F 0002 move.w D0, [A7 + 0x2]
00002912 584F addq.w A7, 4
00002914 4E75 rts
00002916 594F subq.w A7, 4
00002918 3F3C 7D00 move.w -[A7], 0x7D00 /* '}\0' */
0000291C 486D FD18 pea.l [A5 - 0x2E8]
00002920 A931 syscall NewMenu
00002922 205F movea.l A0, [A7]+
00002924 2B48 E1FC move.l [A5 - 0x1E04], A0
00002928 2F2D E1FC move.l -[A7], [A5 - 0x1E04]
0000292C 486D FD1B pea.l [A5 - 0x2E5]
00002930 A933 syscall AppendMenu
00002932 2F2D E1FC move.l -[A7], [A5 - 0x1E04]
00002936 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
0000293C A94D syscall AppendResMenu/AddResMenu
0000293E 2F2D E1FC move.l -[A7], [A5 - 0x1E04]
00002942 4267 clr.w -[A7]
00002944 A935 syscall InsertMenu
00002946 594F subq.w A7, 4
00002948 3F3C 7D01 move.w -[A7], 0x7D01
0000294C 486D FD2A pea.l [A5 - 0x2D6]
00002950 A931 syscall NewMenu
00002952 205F movea.l A0, [A7]+
00002954 2B48 E1F8 move.l [A5 - 0x1E08], A0
00002958 2F2D E1F8 move.l -[A7], [A5 - 0x1E08]
0000295C 486D FD2F pea.l [A5 - 0x2D1]
00002960 A933 syscall AppendMenu
00002962 2F2D E1F8 move.l -[A7], [A5 - 0x1E08]
00002966 4267 clr.w -[A7]
00002968 A935 syscall InsertMenu
0000296A 594F subq.w A7, 4
0000296C 3F3C 7D02 move.w -[A7], 0x7D02
00002970 486D FD74 pea.l [A5 - 0x28C]
00002974 A931 syscall NewMenu
00002976 205F movea.l A0, [A7]+
00002978 2B48 E1F4 move.l [A5 - 0x1E0C], A0
0000297C 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
00002980 486D FD79 pea.l [A5 - 0x287]
00002984 A933 syscall AppendMenu
00002986 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
0000298A 4267 clr.w -[A7]
0000298C A935 syscall InsertMenu
0000298E A937 syscall DrawMenuBar
00002990 4E75 rts
00002992 48E7 0038 movem.l -[A7], A2,A3,A4
00002996 2F2D E1F8 move.l -[A7], [A5 - 0x1E08]
0000299A 3F3C 0004 move.w -[A7], 0x4
0000299E A93A syscall DisableItem
000029A0 2F2D E1F8 move.l -[A7], [A5 - 0x1E08]
000029A4 3F3C 0007 move.w -[A7], 0x7
000029A8 A93A syscall DisableItem
000029AA 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
000029AE 3F3C 0003 move.w -[A7], 0x3
000029B2 A93A syscall DisableItem
000029B4 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
000029B8 3F3C 0004 move.w -[A7], 0x4
000029BC A93A syscall DisableItem
000029BE 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
000029C2 3F3C 0005 move.w -[A7], 0x5
000029C6 A93A syscall DisableItem
000029C8 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
000029CC 3F3C 0006 move.w -[A7], 0x6
000029D0 A93A syscall DisableItem
000029D2 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
000029D6 3F3C 0008 move.w -[A7], 0x8
000029DA A93A syscall DisableItem
000029DC 0C2D 0002 E1EA cmpi.b [A5 - 0x1E16], 0x2
000029E2 6700 00A4 beq +0xA6 /* 00002A88 */
000029E6 594F subq.w A7, 4
000029E8 A924 syscall FrontWindow
000029EA 205F movea.l A0, [A7]+
000029EC 2F08 move.l -[A7], A0
000029EE 4EB9 0000 32C8 jsr [0x000032C8]
000029F4 4A00 tst.b D0
000029F6 584F addq.w A7, 4
000029F8 6700 008E beq +0x90 /* 00002A88 */
000029FC 2F2D E1F8 move.l -[A7], [A5 - 0x1E08]
00002A00 3F3C 0007 move.w -[A7], 0x7
00002A04 A939 syscall EnableItem
00002A06 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
00002A0A 3F3C 0005 move.w -[A7], 0x5
00002A0E A939 syscall EnableItem
00002A10 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
00002A14 3F3C 0008 move.w -[A7], 0x8
00002A18 A939 syscall EnableItem
00002A1A 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002A1E 2068 009C movea.l A0, [A0 + 0x9C]
00002A22 2450 movea.l A2, [A0]
00002A24 302A 0020 move.w D0, [A2 + 0x20]
00002A28 B06A 0022 cmp.w D0, [A2 + 0x22]
00002A2C 670A beq +0xC /* 00002A38 */
00002A2E 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
00002A32 3F3C 0003 move.w -[A7], 0x3
00002A36 A939 syscall EnableItem
label00002A38:
00002A38 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002A3C 2068 009C movea.l A0, [A0 + 0x9C]
00002A40 2650 movea.l A3, [A0]
00002A42 302B 0020 move.w D0, [A3 + 0x20]
00002A46 B06B 0022 cmp.w D0, [A3 + 0x22]
00002A4A 670A beq +0xC /* 00002A56 */
00002A4C 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
00002A50 3F3C 0004 move.w -[A7], 0x4
00002A54 A939 syscall EnableItem
label00002A56:
00002A56 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002A5A 2068 009C movea.l A0, [A0 + 0x9C]
00002A5E 2850 movea.l A4, [A0]
00002A60 302C 0020 move.w D0, [A4 + 0x20]
00002A64 B06C 0022 cmp.w D0, [A4 + 0x22]
00002A68 670A beq +0xC /* 00002A74 */
00002A6A 2F2D E1F4 move.l -[A7], [A5 - 0x1E0C]
00002A6E 3F3C 0006 move.w -[A7], 0x6
00002A72 A939 syscall EnableItem
label00002A74:
00002A74 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002A78 4A28 00A7 tst.b [A0 + 0xA7]
00002A7C 670A beq +0xC /* 00002A88 */
00002A7E 2F2D E1F8 move.l -[A7], [A5 - 0x1E08]
00002A82 3F3C 0004 move.w -[A7], 0x4
00002A86 A939 syscall EnableItem
label00002A88:
00002A88 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002A8C 4E75 rts
00002A8E 48E7 1820 movem.l -[A7], D3,D4,A2
00002A92 4FEF FE38 lea.l A7, [A7 - 0x1C8]
00002A96 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002A9A 2468 009C movea.l A2, [A0 + 0x9C]
00002A9E 2052 movea.l A0, [A2]
00002AA0 3268 003C movea.w A1, [A0 + 0x3C]
00002AA4 2809 move.l D4, A1
00002AA6 2F6D FDB2 0100 move.l [A7 + 0x100], [A5 - 0x24E]
00002AAC 2052 movea.l A0, [A2]
00002AAE 2068 003E movea.l A0, [A0 + 0x3E]
00002AB2 A029 syscall HLock
00002AB4 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002AB8 4A28 00A6 tst.b [A0 + 0xA6]
00002ABC 6700 008C beq +0x8E /* 00002B4A */
00002AC0 42AF 015A clr.l [A7 + 0x15A]
00002AC4 41E8 00AE lea.l A0, [A0 + 0xAE]
00002AC8 2F48 0160 move.l [A7 + 0x160], A0
00002ACC 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002AD0 3F68 00A8 0164 move.w [A7 + 0x164], [A0 + 0xA8]
00002AD6 1F7C 0002 0169 move.b [A7 + 0x169], 0x2
00002ADC 2F68 00AA 017E move.l [A7 + 0x17E], [A0 + 0xAA]
00002AE2 41EF 014E lea.l A0, [A7 + 0x14E]
00002AE6 701A moveq.l D0, 0x1A
00002AE8 A260 syscall FSDispatch/HFSDispatch, flags=2
00002AEA 4A40 tst.w D0
00002AEC 665C bne +0x5E /* 00002B4A */
00002AEE 2052 movea.l A0, [A2]
00002AF0 2068 003E movea.l A0, [A0 + 0x3E]
00002AF4 2F50 016E move.l [A7 + 0x16E], [A0]
00002AF8 2F44 0172 move.l [A7 + 0x172], D4
00002AFC 3F7C 0001 017A move.w [A7 + 0x17A], 0x1
00002B02 42AF 017C clr.l [A7 + 0x17C]
00002B06 41EF 014E lea.l A0, [A7 + 0x14E]
00002B0A A003 syscall Write
00002B0C 4A40 tst.w D0
00002B0E 6600 0176 bne +0x178 /* 00002C86 */
00002B12 2052 movea.l A0, [A2]
00002B14 3268 003C movea.w A1, [A0 + 0x3C]
00002B18 B3EF 0176 cmpa.l A1, [A7 + 0x176]
00002B1C 6600 0168 bne +0x16A /* 00002C86 */
00002B20 2F6F 0176 016A move.l [A7 + 0x16A], [A7 + 0x176]
00002B26 41EF 014E lea.l A0, [A7 + 0x14E]
00002B2A A012 syscall SetEOF
00002B2C 4A40 tst.w D0
00002B2E 6600 0156 bne +0x158 /* 00002C86 */
00002B32 41EF 014E lea.l A0, [A7 + 0x14E]
00002B36 A001 syscall Close
00002B38 4A40 tst.w D0
00002B3A 6600 014A bne +0x14C /* 00002C86 */
00002B3E 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002B42 4228 00A7 clr.b [A0 + 0xA7]
00002B46 6000 0160 bra +0x162 /* 00002CA8 */
label00002B4A:
00002B4A 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00002B4E 486F 0004 pea.l [A7 + 0x4]
00002B52 A919 syscall GetWTitle
00002B54 2F2F 0100 move.l -[A7], [A7 + 0x100]
00002B58 486D FDB6 pea.l [A5 - 0x24A]
00002B5C 486F 0008 pea.l [A7 + 0x8]
00002B60 42A7 clr.l -[A7]
00002B62 486F 0114 pea.l [A7 + 0x114]
00002B66 3F3C 0001 move.w -[A7], 0x1
00002B6A A9EA syscall Pack3
00002B6C 4A2F 0104 tst.b [A7 + 0x104]
00002B70 6700 0132 beq +0x134 /* 00002CA4 */
00002B74 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002B78 316F 010A 00A8 move.w [A0 + 0xA8], [A7 + 0x10A]
00002B7E 594F subq.w A7, 4
00002B80 2EB8 0398 move.l [A7], [0x00000398 /* CurDirStore */]
00002B84 201F move.l D0, [A7]+
00002B86 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002B8A 2140 00AA move.l [A0 + 0xAA], D0
00002B8E 41EF 010E lea.l A0, [A7 + 0x10E]
00002B92 226D E1E6 movea.l A1, [A5 - 0x1E1A]
00002B96 43E9 00AE lea.l A1, [A1 + 0xAE]
00002B9A 7000 moveq.l D0, 0x00
00002B9C 102F 010E move.b D0, [A7 + 0x10E]
00002BA0 5240 addq.w D0, 1
00002BA2 48C0 ext.l D0
00002BA4 A02E syscall BlockMove/BlockMoveData
00002BA6 42AF 015A clr.l [A7 + 0x15A]
00002BAA 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002BAE 41E8 00AE lea.l A0, [A0 + 0xAE]
00002BB2 2F48 0160 move.l [A7 + 0x160], A0
00002BB6 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002BBA 3F68 00A8 0164 move.w [A7 + 0x164], [A0 + 0xA8]
00002BC0 422F 016D clr.b [A7 + 0x16D]
00002BC4 2F68 00AA 017E move.l [A7 + 0x17E], [A0 + 0xAA]
00002BCA 41EF 014E lea.l A0, [A7 + 0x14E]
00002BCE A208 syscall Create/PBHCreate/HCreate, flags=2
00002BD0 3600 move.w D3, D0
00002BD2 4A43 tst.w D3
00002BD4 6708 beq +0xA /* 00002BDE */
00002BD6 0C43 FFD0 cmpi.w D3, 0xFFD0
00002BDA 6600 00AA bne +0xAC /* 00002C86 */
label00002BDE:
00002BDE 594F subq.w A7, 4
00002BE0 2EB8 020C move.l [A7], [0x0000020C /* Time */]
00002BE4 201F move.l D0, [A7]+
00002BE6 2F40 0196 move.l [A7 + 0x196], D0
00002BEA 594F subq.w A7, 4
00002BEC 2EB8 020C move.l [A7], [0x0000020C /* Time */]
00002BF0 201F move.l D0, [A7]+
00002BF2 2F40 019A move.l [A7 + 0x19A], D0
00002BF6 2F7C 5445 5854 016E move.l [A7 + 0x16E], 0x54455854 /* 'TEXT' */
00002BFE 2F7C 4D4D 4343 0172 move.l [A7 + 0x172], 0x4D4D4343 /* 'MMCC' */
00002C06 426F 0176 clr.w [A7 + 0x176]
00002C0A 41EF 014E lea.l A0, [A7 + 0x14E]
00002C0E A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00002C10 4A40 tst.w D0
00002C12 6672 bne +0x74 /* 00002C86 */
00002C14 1F7C 0002 0169 move.b [A7 + 0x169], 0x2
00002C1A 41EF 014E lea.l A0, [A7 + 0x14E]
00002C1E 701A moveq.l D0, 0x1A
00002C20 A260 syscall FSDispatch/HFSDispatch, flags=2
00002C22 4A40 tst.w D0
00002C24 6660 bne +0x62 /* 00002C86 */
00002C26 2052 movea.l A0, [A2]
00002C28 2068 003E movea.l A0, [A0 + 0x3E]
00002C2C 2F50 016E move.l [A7 + 0x16E], [A0]
00002C30 2F44 0172 move.l [A7 + 0x172], D4
00002C34 3F7C 0001 017A move.w [A7 + 0x17A], 0x1
00002C3A 42AF 017C clr.l [A7 + 0x17C]
00002C3E 41EF 014E lea.l A0, [A7 + 0x14E]
00002C42 A003 syscall Write
00002C44 4A40 tst.w D0
00002C46 663E bne +0x40 /* 00002C86 */
00002C48 2052 movea.l A0, [A2]
00002C4A 3268 003C movea.w A1, [A0 + 0x3C]
00002C4E B3EF 0176 cmpa.l A1, [A7 + 0x176]
00002C52 6632 bne +0x34 /* 00002C86 */
00002C54 2F6F 0176 016A move.l [A7 + 0x16A], [A7 + 0x176]
00002C5A 41EF 014E lea.l A0, [A7 + 0x14E]
00002C5E A012 syscall SetEOF
00002C60 4A40 tst.w D0
00002C62 6622 bne +0x24 /* 00002C86 */
00002C64 41EF 014E lea.l A0, [A7 + 0x14E]
00002C68 A001 syscall Close
00002C6A 4A40 tst.w D0
00002C6C 6618 bne +0x1A /* 00002C86 */
00002C6E 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002C72 4228 00A7 clr.b [A0 + 0xA7]
00002C76 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00002C7A 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002C7E 4868 00AE pea.l [A0 + 0xAE]
00002C82 A91A syscall SetWTitle
00002C84 6022 bra +0x24 /* 00002CA8 */
label00002C86:
00002C86 2052 movea.l A0, [A2]
00002C88 2068 003E movea.l A0, [A0 + 0x3E]
00002C8C A02A syscall HUnlock
00002C8E 486D 9AD0 pea.l [A5 - 0x6530]
00002C92 A851 syscall SetCursor
00002C94 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002C98 4868 00AE pea.l [A0 + 0xAE]
00002C9C 4EB9 0000 3D72 jsr [0x00003D72]
00002CA2 584F addq.w A7, 4
label00002CA4:
00002CA4 7000 moveq.l D0, 0x00
00002CA6 600A bra +0xC /* 00002CB2 */
label00002CA8:
00002CA8 2052 movea.l A0, [A2]
00002CAA 2068 003E movea.l A0, [A0 + 0x3E]
00002CAE A02A syscall HUnlock
00002CB0 7001 moveq.l D0, 0x01
label00002CB2:
00002CB2 4FEF 01C8 lea.l A7, [A7 + 0x1C8]
00002CB6 4CDF 0418 movem.l D3,D4,A2, [A7]+
00002CBA 4E75 rts
00002CBC 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
00002CC0 4FEF FF00 lea.l A7, [A7 - 0x100]
00002CC4 2A2F 0114 move.l D5, [A7 + 0x114]
00002CC8 2805 move.l D4, D5
00002CCA 7210 moveq.l D1, 0x10
00002CCC E2A4 asr D4, D1
00002CCE 3605 move.w D3, D5
00002CD0 594F subq.w A7, 4
00002CD2 A924 syscall FrontWindow
00002CD4 205F movea.l A0, [A7]+
00002CD6 2F08 move.l -[A7], A0
00002CD8 4EB9 0000 32C8 jsr [0x000032C8]
00002CDE 4A00 tst.b D0
00002CE0 584F addq.w A7, 4
00002CE2 6700 0194 beq +0x196 /* 00002E78 */
00002CE6 3004 move.w D0, D4
00002CE8 0440 7D00 subi.w D0, 0x7D00 /* '}\0' */
00002CEC 670E beq +0x10 /* 00002CFC */
00002CEE 5340 subq.w D0, 1
00002CF0 6736 beq +0x38 /* 00002D28 */
00002CF2 5340 subq.w D0, 1
00002CF4 6700 008A beq +0x8C /* 00002D80 */
00002CF8 6000 0172 bra +0x174 /* 00002E6C */
label00002CFC:
00002CFC 3003 move.w D0, D3
00002CFE 5340 subq.w D0, 1
00002D00 6702 beq +0x4 /* 00002D04 */
00002D02 600A bra +0xC /* 00002D0E */
label00002D04:
00002D04 4EB9 0000 3BE4 jsr [0x00003BE4]
00002D0A 6000 0160 bra +0x162 /* 00002E6C */
label00002D0E:
00002D0E 2F2D E1FC move.l -[A7], [A5 - 0x1E04]
00002D12 3F03 move.w -[A7], D3
00002D14 486F 0006 pea.l [A7 + 0x6]
00002D18 A946 syscall GetMenuItemText/GetItem
00002D1A 554F subq.w A7, 2
00002D1C 486F 0002 pea.l [A7 + 0x2]
00002D20 A9B6 syscall OpenDeskAcc
00002D22 301F move.w D0, [A7]+
00002D24 6000 0146 bra +0x148 /* 00002E6C */
label00002D28:
00002D28 3003 move.w D0, D3
00002D2A 5940 subq.w D0, 4
00002D2C 670E beq +0x10 /* 00002D3C */
00002D2E 5540 subq.w D0, 2
00002D30 671C beq +0x1E /* 00002D4E */
00002D32 5340 subq.w D0, 1
00002D34 6722 beq +0x24 /* 00002D58 */
00002D36 5540 subq.w D0, 2
00002D38 6728 beq +0x2A /* 00002D62 */
00002D3A 603A bra +0x3C /* 00002D76 */
label00002D3C:
00002D3C 4EB9 0000 2A92 jsr [0x00002A92]
00002D42 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002D46 1140 00A6 move.b [A0 + 0xA6], D0
00002D4A 6000 0120 bra +0x122 /* 00002E6C */
label00002D4E:
00002D4E 4EB9 0000 2EEE jsr [0x00002EEE]
00002D54 6000 0116 bra +0x118 /* 00002E6C */
label00002D58:
00002D58 4EB9 0000 3160 jsr [0x00003160]
00002D5E 6000 010C bra +0x10E /* 00002E6C */
label00002D62:
00002D62 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
00002D68 6600 0102 bne +0x104 /* 00002E6C */
00002D6C 1B7C 0001 E1EE move.b [A5 - 0x1E12], 0x1
// begin alternate branch 00002D70-00002D7C
label00002D70:
00002D70 E1EE 6000 asl .w [A6 + 0x6000]
00002D74 00F8 3F3C ori.? [0x00003F3C], 0xFFFFFFFFFFFFFFFF
label00002D76: // (misaligned)
00002D78 000A A9C8 ori.b A2, 0xC8
// end alternate branch 00002D70-00002D7C
label00002D70: // (misaligned)
00002D72 6000 00F8 bra +0xFA /* 00002E6C */
label00002D76:
00002D76 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002D7A A9C8 syscall SysBeep
00002D7C 6000 00EE bra +0xF0 /* 00002E6C */
label00002D80:
00002D80 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002D84 2F28 009C move.l -[A7], [A0 + 0x9C]
00002D88 3F2D E1F2 move.w -[A7], [A5 - 0x1E0E]
00002D8C 4EB9 0000 2168 jsr [0x00002168]
00002D92 1800 move.b D4, D0
00002D94 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002D98 2068 009C movea.l A0, [A0 + 0x9C]
00002D9C 2450 movea.l A2, [A0]
00002D9E 302A 0020 move.w D0, [A2 + 0x20]
00002DA2 B06A 0022 cmp.w D0, [A2 + 0x22]
00002DA6 56C0 sne D0
00002DA8 4400 neg.b D0
00002DAA 4880 ext.w D0
00002DAC 1A00 move.b D5, D0
00002DAE 5C4F addq.w A7, 6
00002DB0 3003 move.w D0, D3
00002DB2 0C40 0008 cmpi.w D0, 0x8
00002DB6 6200 00AE bhi +0xB0 /* 00002E66 */
00002DBA D040 add.w D0, D0
00002DBC 303B 0006 move.w D0, [PC + D0.w + 0x6]
00002DC0 4EFB 0002 jmp [PC + D0.w + 0x2]
00002DC4 00A2 00A2 00A2 ori.l -[A2], 0xA200A2
00002DCA 0012 003A ori.b [A2], 0x3A /* ':' */
00002DCE 0050 0074 ori.w [A0], 0x74 /* 't' */
00002DD2 00A2 0092 4A04 ori.l -[A2], 0x924A04
00002DD8 6700 0092 beq +0x94 /* 00002E6C */
00002DDC 4A05 tst.b D5
00002DDE 6700 008C beq +0x8E /* 00002E6C */
00002DE2 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002DE6 2F28 009C move.l -[A7], [A0 + 0x9C]
00002DEA A9D6 syscall TECut
00002DEC 4EB9 0000 28D0 jsr [0x000028D0]
00002DF2 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002DF6 117C 0001 00A7 move.b [A0 + 0xA7], 0x1
00002DFC 6068 bra +0x6A /* 00002E66 */
00002DFE 4A05 tst.b D5
00002E00 676A beq +0x6C /* 00002E6C */
00002E02 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002E06 2F28 009C move.l -[A7], [A0 + 0x9C]
00002E0A A9D5 syscall TECopy
00002E0C 4EB9 0000 28D0 jsr [0x000028D0]
00002E12 6058 bra +0x5A /* 00002E6C */
00002E14 4A04 tst.b D4
00002E16 6754 beq +0x56 /* 00002E6C */
00002E18 4EB9 0000 2852 jsr [0x00002852]
00002E1E 4A40 tst.w D0
00002E20 664A bne +0x4C /* 00002E6C */
00002E22 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002E26 2F28 009C move.l -[A7], [A0 + 0x9C]
00002E2A A9DB syscall TEPaste
00002E2C 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002E30 117C 0001 00A7 move.b [A0 + 0xA7], 0x1
00002E36 602E bra +0x30 /* 00002E66 */
00002E38 4A04 tst.b D4
00002E3A 6730 beq +0x32 /* 00002E6C */
00002E3C 4A05 tst.b D5
00002E3E 672C beq +0x2E /* 00002E6C */
00002E40 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002E44 2F28 009C move.l -[A7], [A0 + 0x9C]
00002E48 A9D7 syscall TEDelete
00002E4A 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002E4E 117C 0001 00A7 move.b [A0 + 0xA7], 0x1
00002E54 6010 bra +0x12 /* 00002E66 */
00002E56 42A7 clr.l -[A7]
00002E58 4878 7FFF push.l 0x7FFF
00002E5C 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00002E60 2F28 009C move.l -[A7], [A0 + 0x9C]
00002E64 A9D1 syscall TESetSelect
label00002E66:
00002E66 4EB9 0000 344A jsr [0x0000344A]
label00002E6C:
00002E6C 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
00002E72 6604 bne +0x6 /* 00002E78 */
00002E74 4267 clr.w -[A7]
00002E76 A938 syscall HiliteMenu
label00002E78:
00002E78 4FEF 0100 lea.l A7, [A7 + 0x100]
00002E7C 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00002E80 4E75 rts
00002E82 4AAD E200 tst.l [A5 - 0x1E00]
00002E86 6648 bne +0x4A /* 00002ED0 */
00002E88 2F3C C800 0000 move.l -[A7], 0xC8000000
00002E8E A8FD syscall PrGlue
00002E90 554F subq.w A7, 2
00002E92 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002E98 A8FD syscall PrGlue
00002E9A 301F move.w D0, [A7]+
00002E9C 6704 beq +0x6 /* 00002EA2 */
00002E9E 7000 moveq.l D0, 0x00
00002EA0 4E75 rts
label00002EA2:
00002EA2 7078 moveq.l D0, 0x78
00002EA4 A122 syscall NewHandle, flags=1
00002EA6 2B48 E200 move.l [A5 - 0x1E00], A0
00002EAA 2008 move.l D0, A0
00002EAC 6726 beq +0x28 /* 00002ED4 */
00002EAE 2F2D E200 move.l -[A7], [A5 - 0x1E00]
00002EB2 2F3C 2004 0480 move.l -[A7], 0x20040480
00002EB8 A8FD syscall PrGlue
00002EBA 554F subq.w A7, 2
00002EBC 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002EC2 A8FD syscall PrGlue
00002EC4 301F move.w D0, [A7]+
00002EC6 660C bne +0xE /* 00002ED4 */
00002EC8 2F3C D000 0000 move.l -[A7], 0xD0000000
00002ECE A8FD syscall PrGlue
label00002ED0:
00002ED0 7001 moveq.l D0, 0x01
00002ED2 4E75 rts
label00002ED4:
00002ED4 206D E200 movea.l A0, [A5 - 0x1E00]
00002ED8 A023 syscall DisposHandle/DisposeHandle
00002EDA 42AD E200 clr.l [A5 - 0x1E00]
00002EDE 2F3C D000 0000 move.l -[A7], 0xD0000000
00002EE4 A8FD syscall PrGlue
00002EE6 7000 moveq.l D0, 0x00
00002EE8 4E75 rts
00002EEA 554F subq.w A7, 2
00002EEC 4EB9 0000 2E86 jsr [0x00002E86]
00002EF2 4A00 tst.b D0
00002EF4 6732 beq +0x34 /* 00002F28 */
00002EF6 2F3C C800 0000 move.l -[A7], 0xC8000000
00002EFC A8FD syscall PrGlue
00002EFE 554F subq.w A7, 2
00002F00 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002F06 A8FD syscall PrGlue
00002F08 301F move.w D0, [A7]+
00002F0A 661C bne +0x1E /* 00002F28 */
00002F0C 554F subq.w A7, 2
00002F0E 2F2D E200 move.l -[A7], [A5 - 0x1E00]
00002F12 2F3C 2A04 0484 move.l -[A7], 0x2A040484
00002F18 A8FD syscall PrGlue
00002F1A 101F move.b D0, [A7]+
00002F1C 1F40 0001 move.b [A7 + 0x1], D0
00002F20 2F3C D000 0000 move.l -[A7], 0xD0000000
00002F26 A8FD syscall PrGlue
label00002F28:
00002F28 544F addq.w A7, 2
00002F2A 4E75 rts
00002F2C 48E7 0038 movem.l -[A7], A2,A3,A4
00002F30 554F subq.w A7, 2
00002F32 246F 0012 movea.l A2, [A7 + 0x12]
00002F36 264A movea.l A3, A2
00002F38 284A movea.l A4, A2
00002F3A D8EF 0016 add.w A4, [A7 + 0x16]
00002F3E 6022 bra +0x24 /* 00002F62 */
label00002F40:
00002F40 528B addq.l A3, 1
label00002F42:
00002F42 B7CC cmpa.l A3, A4
00002F44 65FA bcs -0x4 /* 00002F40 */
00002F46 204B movea.l A0, A3
00002F48 91CA sub.l A0, A2
00002F4A 2008 move.l D0, A0
00002F4C 3E80 move.w [A7], D0
00002F4E 4A40 tst.w D0
00002F50 6F0E ble +0x10 /* 00002F60 */
00002F52 2F0A move.l -[A7], A2
00002F54 4267 clr.w -[A7]
00002F56 204B movea.l A0, A3
00002F58 91CA sub.l A0, A2
00002F5A 2008 move.l D0, A0
00002F5C 3F00 move.w -[A7], D0
00002F5E A885 syscall DrawText
label00002F60:
00002F60 244B movea.l A2, A3
label00002F62:
00002F62 B5CC cmpa.l A2, A4
00002F64 65DC bcs -0x22 /* 00002F42 */
00002F66 544F addq.w A7, 2
00002F68 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002F6C 4E75 rts
00002F6E 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00002F72 4FEF FF6A lea.l A7, [A7 - 0x96]
00002F76 266F 00BE movea.l A3, [A7 + 0xBE]
00002F7A 2C2F 00C2 move.l D6, [A7 + 0xC2]
00002F7E 246F 00C6 movea.l A2, [A7 + 0xC6]
00002F82 4257 clr.w [A7]
00002F84 7800 moveq.l D4, 0x00
00002F86 7A00 moveq.l D5, 0x00
00002F88 594F subq.w A7, 4
00002F8A 2F0A move.l -[A7], A2
00002F8C 42A7 clr.l -[A7]
00002F8E 42A7 clr.l -[A7]
00002F90 2F3C 0400 0C00 move.l -[A7], 0x4000C00
00002F96 A8FD syscall PrGlue
00002F98 205F movea.l A0, [A7]+
00002F9A 2848 movea.l A4, A0
00002F9C 2F0C move.l -[A7], A4
00002F9E A873 syscall SetPort
00002FA0 3F2F 00CA move.w -[A7], [A7 + 0xCA]
00002FA4 A887 syscall TextFont
00002FA6 3F2F 00CC move.w -[A7], [A7 + 0xCC]
00002FAA A88A syscall TextSize
00002FAC 4267 clr.w -[A7]
00002FAE A888 syscall TextFace
00002FB0 2052 movea.l A0, [A2]
00002FB2 2F68 0008 008E move.l [A7 + 0x8E], [A0 + 0x8]
00002FB8 2F68 000C 0092 move.l [A7 + 0x92], [A0 + 0xC]
00002FBE 486F 0046 pea.l [A7 + 0x46]
00002FC2 A88B syscall GetFontInfo
00002FC4 362F 004C move.w D3, [A7 + 0x4C]
00002FC8 D66F 0046 add.w D3, [A7 + 0x46]
00002FCC D66F 0048 add.w D3, [A7 + 0x48]
00002FD0 3E2F 0092 move.w D7, [A7 + 0x92]
00002FD4 9E6F 008E sub.w D7, [A7 + 0x8E]
00002FD8 0647 FFD8 addi.w D7, 0xFFD8
00002FDC 48C7 ext.l D7
00002FDE 8FC3 divs.w D7, D3
00002FE0 204B movea.l A0, A3
00002FE2 A029 syscall HLock
00002FE4 2C53 movea.l A6, [A3]
00002FE6 244E movea.l A2, A6
00002FE8 6000 0150 bra +0x152 /* 0000313A */
label00002FEC:
00002FEC 2F0C move.l -[A7], A4
00002FEE 42A7 clr.l -[A7]
00002FF0 2F3C 1000 0808 move.l -[A7], 0x10000808
00002FF6 A8FD syscall PrGlue
00002FF8 5284 addq.l D4, 1
00002FFA DA47 add.w D5, D7
00002FFC 41ED FDCA lea.l A0, [A5 - 0x236]
00003000 43EF 004E lea.l A1, [A7 + 0x4E]
00003004 700F moveq.l D0, 0x0F
label00003006:
00003006 22D8 move.l [A1]+, [A0]+
00003008 51C8 FFFC dbf D0, -0x6 /* 00003006 */
0000300C 3F3C 0003 move.w -[A7], 0x3
00003010 A887 syscall TextFont
00003012 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00003016 A88A syscall TextSize
00003018 3F3C 0001 move.w -[A7], 0x1
0000301C A888 syscall TextFace
0000301E 7014 moveq.l D0, 0x14
00003020 D06F 0090 add.w D0, [A7 + 0x90]
00003024 3F00 move.w -[A7], D0
00003026 7009 moveq.l D0, 0x09
00003028 D06F 0090 add.w D0, [A7 + 0x90]
0000302C 3F00 move.w -[A7], D0
0000302E A893 syscall MoveTo
00003030 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00003034 486F 000A pea.l [A7 + 0xA]
00003038 A919 syscall GetWTitle
0000303A 486F 0006 pea.l [A7 + 0x6]
0000303E A884 syscall DrawString
00003040 2F04 move.l -[A7], D4
00003042 486D FE0A pea.l [A5 - 0x1F6]
00003046 486F 000E pea.l [A7 + 0xE]
0000304A 4EB9 0000 05EE jsr [0x000005EE]
00003050 486F 0012 pea.l [A7 + 0x12]
00003054 486F 005E pea.l [A7 + 0x5E]
00003058 4EB9 0000 193C jsr [0x0000193C]
0000305E 554F subq.w A7, 2
00003060 486F 0064 pea.l [A7 + 0x64]
00003064 A88C syscall StringWidth
00003066 301F move.w D0, [A7]+
00003068 72EC moveq.l D1, 0xFFFFFFEC
0000306A D26F 00A8 add.w D1, [A7 + 0xA8]
0000306E 9240 sub.w D1, D0
00003070 3F01 move.w -[A7], D1
00003072 7009 moveq.l D0, 0x09
00003074 D06F 00A4 add.w D0, [A7 + 0xA4]
00003078 3F00 move.w -[A7], D0
0000307A A893 syscall MoveTo
0000307C 486F 0062 pea.l [A7 + 0x62]
00003080 4267 clr.w -[A7]
00003082 486F 0068 pea.l [A7 + 0x68]
00003086 4EB9 0000 283E jsr [0x0000283E]
0000308C 584F addq.w A7, 4
0000308E 3F00 move.w -[A7], D0
00003090 A885 syscall DrawText
00003092 7014 moveq.l D0, 0x14
00003094 D06F 00A4 add.w D0, [A7 + 0xA4]
00003098 3F00 move.w -[A7], D0
0000309A 700F moveq.l D0, 0x0F
0000309C D06F 00A4 add.w D0, [A7 + 0xA4]
000030A0 3F00 move.w -[A7], D0
000030A2 A893 syscall MoveTo
000030A4 70D8 moveq.l D0, 0xFFFFFFD8
000030A6 D06F 00A8 add.w D0, [A7 + 0xA8]
000030AA 906F 00A4 sub.w D0, [A7 + 0xA4]
000030AE 3F00 move.w -[A7], D0
000030B0 4267 clr.w -[A7]
000030B2 A892 syscall Line
000030B4 3F2F 00DE move.w -[A7], [A7 + 0xDE]
000030B8 A887 syscall TextFont
000030BA 3F2F 00E0 move.w -[A7], [A7 + 0xE0]
000030BE A88A syscall TextSize
000030C0 4267 clr.w -[A7]
000030C2 A888 syscall TextFace
000030C4 7014 moveq.l D0, 0x14
000030C6 D06F 00A4 add.w D0, [A7 + 0xA4]
000030CA 3F00 move.w -[A7], D0
000030CC 7014 moveq.l D0, 0x14
000030CE D06F 00A4 add.w D0, [A7 + 0xA4]
000030D2 D043 add.w D0, D3
000030D4 3F40 001A move.w [A7 + 0x1A], D0
000030D8 3F00 move.w -[A7], D0
000030DA A893 syscall MoveTo
000030DC 4FEF 0014 lea.l A7, [A7 + 0x14]
000030E0 6040 bra +0x42 /* 00003122 */
label000030E2:
000030E2 2053 movea.l A0, [A3]
000030E4 D1C6 add.l A0, D6
000030E6 B5C8 cmpa.l A2, A0
000030E8 6206 bhi +0x8 /* 000030F0 */
000030EA 0C1A 000D cmpi.b [A2]+, 0xD /* '\r' */
000030EE 66F2 bne -0xC /* 000030E2 */
label000030F0:
000030F0 204A movea.l A0, A2
000030F2 91CE sub.l A0, A6
000030F4 2008 move.l D0, A0
000030F6 5340 subq.w D0, 1
000030F8 3F40 0002 move.w [A7 + 0x2], D0
000030FC 4A40 tst.w D0
000030FE 6F0E ble +0x10 /* 0000310E */
00003100 3F2F 0002 move.w -[A7], [A7 + 0x2]
00003104 2F0E move.l -[A7], A6
00003106 4EB9 0000 2F30 jsr [0x00002F30]
0000310C 5C4F addq.w A7, 6
label0000310E:
0000310E 7014 moveq.l D0, 0x14
00003110 D06F 0090 add.w D0, [A7 + 0x90]
00003114 3F00 move.w -[A7], D0
00003116 D76F 0006 add.w [A7 + 0x6], D3
0000311A 3F2F 0006 move.w -[A7], [A7 + 0x6]
0000311E A893 syscall MoveTo
00003120 2C4A movea.l A6, A2
label00003122:
00003122 5257 addq.w [A7], 1
00003124 BA57 cmp.w D5, [A7]
00003126 6708 beq +0xA /* 00003130 */
00003128 2053 movea.l A0, [A3]
0000312A D1C6 add.l A0, D6
0000312C B5C8 cmpa.l A2, A0
0000312E 65B2 bcs -0x4C /* 000030E2 */
label00003130:
00003130 2F0C move.l -[A7], A4
00003132 2F3C 1800 040C move.l -[A7], 0x1800040C
00003138 A8FD syscall PrGlue
label0000313A:
0000313A 2053 movea.l A0, [A3]
0000313C D1C6 add.l A0, D6
0000313E B5C8 cmpa.l A2, A0
00003140 6500 FEAA bcs -0x154 /* 00002FEC */
00003144 204B movea.l A0, A3
00003146 A02A syscall HUnlock
00003148 2F0C move.l -[A7], A4
0000314A 2F3C 0800 0484 move.l -[A7], 0x8000484
00003150 A8FD syscall PrGlue
00003152 4FEF 0096 lea.l A7, [A7 + 0x96]
00003156 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
0000315A 4E75 rts
0000315C 48E7 1820 movem.l -[A7], D3,D4,A2
00003160 4FEF FFE2 lea.l A7, [A7 - 0x1E]
00003164 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003168 2068 009C movea.l A0, [A0 + 0x9C]
0000316C 2050 movea.l A0, [A0]
0000316E 3268 003C movea.w A1, [A0 + 0x3C]
00003172 2809 move.l D4, A1
00003174 246D E1E6 movea.l A2, [A5 - 0x1E1A]
00003178 4EB9 0000 2E86 jsr [0x00002E86]
0000317E 4A00 tst.b D0
00003180 6700 00BA beq +0xBC /* 0000323C */
00003184 2F3C C800 0000 move.l -[A7], 0xC8000000
0000318A A8FD syscall PrGlue
0000318C 554F subq.w A7, 2
0000318E 2F3C BA00 0000 move.l -[A7], 0xBA000000
00003194 A8FD syscall PrGlue
00003196 301F move.w D0, [A7]+
00003198 6600 00A2 bne +0xA4 /* 0000323C */
0000319C 486D 9AD0 pea.l [A5 - 0x6530]
000031A0 A851 syscall SetCursor
000031A2 554F subq.w A7, 2
000031A4 2F2D E200 move.l -[A7], [A5 - 0x1E00]
000031A8 2F3C 3204 0488 move.l -[A7], 0x32040488
000031AE A8FD syscall PrGlue
000031B0 101F move.b D0, [A7]+
000031B2 6700 0080 beq +0x82 /* 00003234 */
000031B6 594F subq.w A7, 4
000031B8 3F3C 0004 move.w -[A7], 0x4
000031BC A9B9 syscall GetCursor
000031BE 205F movea.l A0, [A7]+
000031C0 2F10 move.l -[A7], [A0]
000031C2 A851 syscall SetCursor
000031C4 486F 001A pea.l [A7 + 0x1A]
000031C8 A874 syscall GetPort
000031CA 206D E200 movea.l A0, [A5 - 0x1E00]
000031CE 2050 movea.l A0, [A0]
000031D0 1028 0044 move.b D0, [A0 + 0x44]
000031D4 4880 ext.w D0
000031D6 48C0 ext.l D0
000031D8 6704 beq +0x6 /* 000031DE */
000031DA 7001 moveq.l D0, 0x01
000031DC 600A bra +0xC /* 000031E8 */
label000031DE:
000031DE 206D E200 movea.l A0, [A5 - 0x1E00]
000031E2 2050 movea.l A0, [A0]
000031E4 3028 0042 move.w D0, [A0 + 0x42]
label000031E8:
000031E8 3600 move.w D3, D0
000031EA 603E bra +0x40 /* 0000322A */
label000031EC:
000031EC 3F2A 004A move.w -[A7], [A2 + 0x4A]
000031F0 3F2A 0044 move.w -[A7], [A2 + 0x44]
000031F4 2F2D E200 move.l -[A7], [A5 - 0x1E00]
000031F8 2F04 move.l -[A7], D4
000031FA 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000031FE 2068 009C movea.l A0, [A0 + 0x9C]
00003202 2050 movea.l A0, [A0]
00003204 2F28 003E move.l -[A7], [A0 + 0x3E]
00003208 4EB9 0000 2F72 jsr [0x00002F72]
0000320E 2F2D E200 move.l -[A7], [A5 - 0x1E00]
00003212 42A7 clr.l -[A7]
00003214 42A7 clr.l -[A7]
00003216 42A7 clr.l -[A7]
00003218 486F 0020 pea.l [A7 + 0x20]
0000321C 2F3C 6005 1480 move.l -[A7], 0x60051480
00003222 A8FD syscall PrGlue
00003224 5343 subq.w D3, 1
00003226 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000322A:
0000322A 4A43 tst.w D3
0000322C 6EBE bgt -0x40 /* 000031EC */
0000322E 2F2F 001A move.l -[A7], [A7 + 0x1A]
00003232 A873 syscall SetPort
label00003234:
00003234 2F3C D000 0000 move.l -[A7], 0xD0000000
0000323A A8FD syscall PrGlue
label0000323C:
0000323C 4FEF 001E lea.l A7, [A7 + 0x1E]
00003240 4CDF 0418 movem.l D3,D4,A2, [A7]+
00003244 4E75 rts
00003246 594F subq.w A7, 4
00003248 2F2F 0008 move.l -[A7], [A7 + 0x8]
0000324C 3F3C 0001 move.w -[A7], 0x1
00003250 A95D syscall HiliteControl
00003252 207C 0000 0003 movea.l A0, 0x3
00003258 43D7 lea.l A1, [A7]
0000325A A03B syscall Delay
0000325C 2280 move.l [A1], D0
0000325E 2F2F 0008 move.l -[A7], [A7 + 0x8]
00003262 4267 clr.w -[A7]
00003264 A95D syscall HiliteControl
00003266 584F addq.w A7, 4
00003268 4E75 rts
0000326A 2F0A move.l -[A7], A2
0000326C 514F subq.w A7, 8
0000326E 246F 0010 movea.l A2, [A7 + 0x10]
00003272 204A movea.l A0, A2
00003274 A029 syscall HLock
00003276 2052 movea.l A0, [A2]
00003278 3028 0008 move.w D0, [A0 + 0x8]
0000327C 5940 subq.w D0, 4
0000327E 3E80 move.w [A7], D0
00003280 2052 movea.l A0, [A2]
00003282 3028 000A move.w D0, [A0 + 0xA]
00003286 5940 subq.w D0, 4
00003288 3F40 0002 move.w [A7 + 0x2], D0
0000328C 2052 movea.l A0, [A2]
0000328E 3028 000C move.w D0, [A0 + 0xC]
00003292 5840 addq.w D0, 4
00003294 3F40 0004 move.w [A7 + 0x4], D0
00003298 2052 movea.l A0, [A2]
0000329A 3028 000E move.w D0, [A0 + 0xE]
0000329E 5840 addq.w D0, 4
000032A0 3F40 0006 move.w [A7 + 0x6], D0
000032A4 204A movea.l A0, A2
000032A6 A02A syscall HUnlock
000032A8 A89E syscall PenNormal
000032AA 2F3C 0003 0003 move.l -[A7], 0x30003
000032B0 A89B syscall PenSize
000032B2 4857 pea.l [A7]
000032B4 2F3C 0010 0010 move.l -[A7], 0x100010
000032BA A8B0 syscall FrameRoundRect
000032BC A89E syscall PenNormal
000032BE 504F addq.w A7, 8
000032C0 245F movea.l A2, [A7]+
000032C2 4E75 rts
000032C4 206F 0004 movea.l A0, [A7 + 0x4]
000032C8 B1ED E1E6 cmpa.l A0, [A5 - 0x1E1A]
000032CC 6704 beq +0x6 /* 000032D2 */
000032CE 7000 moveq.l D0, 0x00
000032D0 6002 bra +0x4 /* 000032D4 */
label000032D2:
000032D2 7001 moveq.l D0, 0x01
label000032D4:
000032D4 4E75 rts
000032D6 48E7 1020 movem.l -[A7], D3,A2
000032DA 554F subq.w A7, 2
000032DC 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000032E0 2468 009C movea.l A2, [A0 + 0x9C]
000032E4 2052 movea.l A0, [A2]
000032E6 2252 movea.l A1, [A2]
000032E8 3029 0008 move.w D0, [A1 + 0x8]
000032EC 9050 sub.w D0, [A0]
000032EE 3E80 move.w [A7], D0
000032F0 554F subq.w A7, 2
000032F2 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000032F6 2F28 00A0 move.l -[A7], [A0 + 0xA0]
000032FA A960 syscall GetControlValue/GetCtlValue
000032FC 301F move.w D0, [A7]+
000032FE 2052 movea.l A0, [A2]
00003300 C1E8 0018 muls.w D0, [A0 + 0x18]
00003304 3217 move.w D1, [A7]
00003306 9240 sub.w D1, D0
00003308 3601 move.w D3, D1
0000330A 4A43 tst.w D3
0000330C 6708 beq +0xA /* 00003316 */
0000330E 4267 clr.w -[A7]
00003310 3F03 move.w -[A7], D3
00003312 2F0A move.l -[A7], A2
00003314 A9DD syscall TEScroll
label00003316:
00003316 544F addq.w A7, 2
00003318 4CDF 0408 movem.l D3,A2, [A7]+
0000331C 4E75 rts
0000331E 48E7 0038 movem.l -[A7], A2,A3,A4
00003322 266F 0010 movea.l A3, [A7 + 0x10]
00003326 246B 009C movea.l A2, [A3 + 0x9C]
0000332A 284B movea.l A4, A3
0000332C 2052 movea.l A0, [A2]
0000332E 216C 0010 0008 move.l [A0 + 0x8], [A4 + 0x10]
00003334 216C 0014 000C move.l [A0 + 0xC], [A4 + 0x14]
0000333A 2052 movea.l A0, [A2]
0000333C 0468 0010 000E subi.w [A0 + 0xE], 0x10
00003342 2052 movea.l A0, [A2]
00003344 3028 0018 move.w D0, [A0 + 0x18]
00003348 5840 addq.w D0, 4
0000334A 2052 movea.l A0, [A2]
0000334C D168 0008 add.w [A0 + 0x8], D0
00003350 2052 movea.l A0, [A2]
00003352 4868 0008 pea.l [A0 + 0x8]
00003356 2F3C 0004 0004 move.l -[A7], 0x40004
0000335C A8A9 syscall InsetRect
0000335E 2052 movea.l A0, [A2]
00003360 2252 movea.l A1, [A2]
00003362 3028 0018 move.w D0, [A0 + 0x18]
00003366 2052 movea.l A0, [A2]
00003368 3228 000C move.w D1, [A0 + 0xC]
0000336C 9269 0008 sub.w D1, [A1 + 0x8]
00003370 48C1 ext.l D1
00003372 83C0 divs.w D1, D0
00003374 3741 00A4 move.w [A3 + 0xA4], D1
00003378 2052 movea.l A0, [A2]
0000337A 3028 0018 move.w D0, [A0 + 0x18]
0000337E C1EB 00A4 muls.w D0, [A3 + 0xA4]
00003382 2052 movea.l A0, [A2]
00003384 D068 0008 add.w D0, [A0 + 0x8]
00003388 2052 movea.l A0, [A2]
0000338A 3140 000C move.w [A0 + 0xC], D0
0000338E 2052 movea.l A0, [A2]
00003390 2252 movea.l A1, [A2]
00003392 3368 000E 0006 move.w [A1 + 0x6], [A0 + 0xE]
00003398 2F0A move.l -[A7], A2
0000339A A9D0 syscall TECalText
0000339C 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000033A0 4E75 rts
000033A2 48E7 1820 movem.l -[A7], D3,D4,A2
000033A6 4FEF FFF4 lea.l A7, [A7 - 0xC]
000033AA 246F 001C movea.l A2, [A7 + 0x1C]
000033AE 4857 pea.l [A7]
000033B0 A874 syscall GetPort
000033B2 2F0A move.l -[A7], A2
000033B4 A873 syscall SetPort
000033B6 362A 0016 move.w D3, [A2 + 0x16]
000033BA 966A 0012 sub.w D3, [A2 + 0x12]
000033BE 382A 0014 move.w D4, [A2 + 0x14]
000033C2 986A 0010 sub.w D4, [A2 + 0x10]
000033C6 486F 0004 pea.l [A7 + 0x4]
000033CA 70F1 moveq.l D0, 0xFFFFFFF1
000033CC D043 add.w D0, D3
000033CE 3F00 move.w -[A7], D0
000033D0 3F3C FFFF move.w -[A7], 0xFFFF
000033D4 3F03 move.w -[A7], D3
000033D6 3F04 move.w -[A7], D4
000033D8 A8A7 syscall SetRect
000033DA 486F 0004 pea.l [A7 + 0x4]
000033DE A87B syscall ClipRect
000033E0 2F0A move.l -[A7], A2
000033E2 A904 syscall DrawGrowIcon
000033E4 486D FCFE pea.l [A5 - 0x302]
000033E8 A87B syscall ClipRect
000033EA 2F17 move.l -[A7], [A7]
000033EC A873 syscall SetPort
000033EE 4FEF 000C lea.l A7, [A7 + 0xC]
000033F2 4CDF 0418 movem.l D3,D4,A2, [A7]+
000033F6 4E75 rts
000033F8 2F0A move.l -[A7], A2
000033FA 594F subq.w A7, 4
000033FC 246F 000C movea.l A2, [A7 + 0xC]
00003400 4857 pea.l [A7]
00003402 A874 syscall GetPort
00003404 2F0A move.l -[A7], A2
00003406 A873 syscall SetPort
00003408 2F0A move.l -[A7], A2
0000340A A922 syscall BeginUpdate
0000340C 486A 0010 pea.l [A2 + 0x10]
00003410 A8A3 syscall EraseRect
00003412 B5ED E1E6 cmpa.l A2, [A5 - 0x1E1A]
00003416 6620 bne +0x22 /* 00003438 */
00003418 2F0A move.l -[A7], A2
0000341A A969 syscall DrawControls
0000341C 2F0A move.l -[A7], A2
0000341E 4EB9 0000 33A6 jsr [0x000033A6]
00003424 2F0A move.l -[A7], A2
00003426 4EB9 0000 34F8 jsr [0x000034F8]
0000342C 486A 0010 pea.l [A2 + 0x10]
00003430 2F2A 009C move.l -[A7], [A2 + 0x9C]
00003434 A9D3 syscall TEUpdate
00003436 504F addq.w A7, 8
label00003438:
00003438 2F0A move.l -[A7], A2
0000343A A923 syscall EndUpdate
0000343C 2F17 move.l -[A7], [A7]
0000343E A873 syscall SetPort
00003440 584F addq.w A7, 4
00003442 245F movea.l A2, [A7]+
00003444 4E75 rts
00003446 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
0000344A 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000344E 2468 009C movea.l A2, [A0 + 0x9C]
00003452 2052 movea.l A0, [A2]
00003454 2252 movea.l A1, [A2]
00003456 3028 0018 move.w D0, [A0 + 0x18]
0000345A 2052 movea.l A0, [A2]
0000345C 3A28 0008 move.w D5, [A0 + 0x8]
00003460 9A51 sub.w D5, [A1]
00003462 48C5 ext.l D5
00003464 8BC0 divs.w D5, D0
00003466 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000346A 2252 movea.l A1, [A2]
0000346C 3629 005E move.w D3, [A1 + 0x5E]
00003470 9668 00A4 sub.w D3, [A0 + 0xA4]
00003474 2052 movea.l A0, [A2]
00003476 3828 003C move.w D4, [A0 + 0x3C]
0000347A 4A44 tst.w D4
0000347C 6F16 ble +0x18 /* 00003494 */
0000347E 2052 movea.l A0, [A2]
00003480 2068 003E movea.l A0, [A0 + 0x3E]
00003484 3004 move.w D0, D4
00003486 5340 subq.w D0, 1
00003488 2250 movea.l A1, [A0]
0000348A 0C31 000D 0000 cmpi.b [A1 + D0.w], 0xD /* '\r' */
00003490 6602 bne +0x4 /* 00003494 */
00003492 5243 addq.w D3, 1
label00003494:
00003494 4A43 tst.w D3
00003496 6C02 bge +0x4 /* 0000349A */
00003498 7600 moveq.l D3, 0x00
label0000349A:
0000349A 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000349E 2F28 00A0 move.l -[A7], [A0 + 0xA0]
000034A2 3F03 move.w -[A7], D3
000034A4 A965 syscall SetControlMaximum/SetMaxCtl
000034A6 206D E1E6 movea.l A0, [A5 - 0x1E1A]
000034AA 2F28 00A0 move.l -[A7], [A0 + 0xA0]
000034AE 3F05 move.w -[A7], D5
000034B0 A963 syscall SetControlValue/SetCtlValue
000034B2 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
000034B6 4E75 rts
000034B8 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
000034BC 246F 0014 movea.l A2, [A7 + 0x14]
000034C0 554F subq.w A7, 2
000034C2 2F0A move.l -[A7], A2
000034C4 A960 syscall GetControlValue/GetCtlValue
000034C6 301F move.w D0, [A7]+
000034C8 3A00 move.w D5, D0
000034CA 554F subq.w A7, 2
000034CC 2F0A move.l -[A7], A2
000034CE A962 syscall GetControlMaximum/GetMaxCtl
000034D0 301F move.w D0, [A7]+
000034D2 3800 move.w D4, D0
000034D4 3605 move.w D3, D5
000034D6 966F 0018 sub.w D3, [A7 + 0x18]
000034DA 4A43 tst.w D3
000034DC 6C04 bge +0x6 /* 000034E2 */
000034DE 7600 moveq.l D3, 0x00
000034E0 6006 bra +0x8 /* 000034E8 */
label000034E2:
000034E2 B644 cmp.w D3, D4
000034E4 6F02 ble +0x4 /* 000034E8 */
000034E6 3604 move.w D3, D4
label000034E8:
000034E8 2F0A move.l -[A7], A2
000034EA 3F03 move.w -[A7], D3
000034EC A963 syscall SetControlValue/SetCtlValue
000034EE 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
000034F2 4E75 rts
000034F4 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
000034F8 4FEF FFF4 lea.l A7, [A7 - 0xC]
000034FC 246F 0030 movea.l A2, [A7 + 0x30]
00003500 47ED FE0F lea.l A3, [A5 - 0x1F1]
00003504 49ED FE1C lea.l A4, [A5 - 0x1E4]
00003508 4DED FE23 lea.l A6, [A5 - 0x1DD]
0000350C 41ED FE34 lea.l A0, [A5 - 0x1CC]
00003510 2808 move.l D4, A0
00003512 41ED FE44 lea.l A0, [A5 - 0x1BC]
00003516 2A08 move.l D5, A0
00003518 41ED FE61 lea.l A0, [A5 - 0x19F]
0000351C 2C08 move.l D6, A0
0000351E 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003522 2068 009C movea.l A0, [A0 + 0x9C]
00003526 2050 movea.l A0, [A0]
00003528 3628 0018 move.w D3, [A0 + 0x18]
0000352C 082D 0003 FD06 btst.b [A5 - 0x2FA], 0x3
00003532 662A bne +0x2C /* 0000355E */
00003534 486F 0008 pea.l [A7 + 0x8]
00003538 A874 syscall GetPort
0000353A 2F0A move.l -[A7], A2
0000353C A873 syscall SetPort
0000353E 4267 clr.w -[A7]
00003540 3003 move.w D0, D3
00003542 5640 addq.w D0, 3
00003544 3F00 move.w -[A7], D0
00003546 A893 syscall MoveTo
00003548 70F1 moveq.l D0, 0xFFFFFFF1
0000354A D06A 0016 add.w D0, [A2 + 0x16]
0000354E 3F00 move.w -[A7], D0
00003550 4267 clr.w -[A7]
00003552 A892 syscall Line
00003554 2F2F 0008 move.l -[A7], [A7 + 0x8]
00003558 A873 syscall SetPort
0000355A 6000 00FA bra +0xFC /* 00003656 */
label0000355E:
0000355E 486F 0008 pea.l [A7 + 0x8]
00003562 A874 syscall GetPort
00003564 2F0A move.l -[A7], A2
00003566 A873 syscall SetPort
00003568 4857 pea.l [A7]
0000356A 4878 0050 push.l 0x50 /* 'P' */
0000356E 70F1 moveq.l D0, 0xFFFFFFF1
00003570 D06A 0016 add.w D0, [A2 + 0x16]
00003574 3F00 move.w -[A7], D0
00003576 3003 move.w D0, D3
00003578 5640 addq.w D0, 3
0000357A 3F00 move.w -[A7], D0
0000357C A8A7 syscall SetRect
0000357E 4857 pea.l [A7]
00003580 A8A3 syscall EraseRect
00003582 4267 clr.w -[A7]
00003584 3003 move.w D0, D3
00003586 5640 addq.w D0, 3
00003588 3F00 move.w -[A7], D0
0000358A A893 syscall MoveTo
0000358C 70F1 moveq.l D0, 0xFFFFFFF1
0000358E D06A 0016 add.w D0, [A2 + 0x16]
00003592 3F00 move.w -[A7], D0
00003594 4267 clr.w -[A7]
00003596 A892 syscall Line
00003598 3F2D FD12 move.w -[A7], [A5 - 0x2EE]
0000359C A887 syscall TextFont
0000359E 3F2D FD14 move.w -[A7], [A5 - 0x2EC]
000035A2 A88A syscall TextSize
000035A4 3F2D FD16 move.w -[A7], [A5 - 0x2EA]
000035A8 A888 syscall TextFace
000035AA 3F3C 0004 move.w -[A7], 0x4
000035AE 3F03 move.w -[A7], D3
000035B0 A893 syscall MoveTo
000035B2 2F0B move.l -[A7], A3
000035B4 4267 clr.w -[A7]
000035B6 2F0B move.l -[A7], A3
000035B8 4EB9 0000 283E jsr [0x0000283E]
000035BE 584F addq.w A7, 4
000035C0 3F00 move.w -[A7], D0
000035C2 A885 syscall DrawText
000035C4 3F3C 0050 move.w -[A7], 0x50 /* 'P' */
000035C8 3F03 move.w -[A7], D3
000035CA A893 syscall MoveTo
000035CC 7000 moveq.l D0, 0x00
000035CE 102D E1EA move.b D0, [A5 - 0x1E16]
000035D2 0C40 0005 cmpi.w D0, 0x5
000035D6 6278 bhi +0x7A /* 00003650 */
000035D8 D040 add.w D0, D0
000035DA 303B 0006 move.w D0, [PC + D0.w + 0x6]
000035DE 4EFB 0002 jmp [PC + D0.w + 0x2]
000035E2 006E 000C 0020 ori.w [A6 + 0x20], 0xC
000035E8 0034 0048 005C ori.b [A4 + D0.w + 0x5C], 0x48 /* 'H' */
000035EE 2F0C move.l -[A7], A4
000035F0 4267 clr.w -[A7]
000035F2 2F0C move.l -[A7], A4
000035F4 4EB9 0000 283E jsr [0x0000283E]
000035FA 584F addq.w A7, 4
000035FC 3F00 move.w -[A7], D0
000035FE A885 syscall DrawText
00003600 604E bra +0x50 /* 00003650 */
00003602 2F0E move.l -[A7], A6
00003604 4267 clr.w -[A7]
00003606 2F0E move.l -[A7], A6
00003608 4EB9 0000 283E jsr [0x0000283E]
0000360E 584F addq.w A7, 4
00003610 3F00 move.w -[A7], D0
00003612 A885 syscall DrawText
00003614 603A bra +0x3C /* 00003650 */
00003616 2F04 move.l -[A7], D4
00003618 4267 clr.w -[A7]
0000361A 2F04 move.l -[A7], D4
0000361C 4EB9 0000 283E jsr [0x0000283E]
00003622 584F addq.w A7, 4
00003624 3F00 move.w -[A7], D0
00003626 A885 syscall DrawText
00003628 6026 bra +0x28 /* 00003650 */
0000362A 2F05 move.l -[A7], D5
0000362C 4267 clr.w -[A7]
0000362E 2F05 move.l -[A7], D5
00003630 4EB9 0000 283E jsr [0x0000283E]
00003636 584F addq.w A7, 4
00003638 3F00 move.w -[A7], D0
0000363A A885 syscall DrawText
0000363C 6012 bra +0x14 /* 00003650 */
0000363E 2F06 move.l -[A7], D6
00003640 4267 clr.w -[A7]
00003642 2F06 move.l -[A7], D6
00003644 4EB9 0000 283E jsr [0x0000283E]
0000364A 584F addq.w A7, 4
0000364C 3F00 move.w -[A7], D0
0000364E A885 syscall DrawText
label00003650:
00003650 2F2F 0008 move.l -[A7], [A7 + 0x8]
00003654 A873 syscall SetPort
label00003656:
00003656 4FEF 000C lea.l A7, [A7 + 0xC]
0000365A 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
0000365E 4E75 rts
00003660 48E7 1820 movem.l -[A7], D3,D4,A2
00003664 4FEF FFF2 lea.l A7, [A7 - 0xE]
00003668 246F 001E movea.l A2, [A7 + 0x1E]
0000366C 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003670 2068 009C movea.l A0, [A0 + 0x9C]
00003674 2050 movea.l A0, [A0]
00003676 3628 0018 move.w D3, [A0 + 0x18]
0000367A 486F 000A pea.l [A7 + 0xA]
0000367E A874 syscall GetPort
00003680 2F0A move.l -[A7], A2
00003682 A873 syscall SetPort
00003684 594F subq.w A7, 4
00003686 2F0A move.l -[A7], A2
00003688 2F2F 002A move.l -[A7], [A7 + 0x2A]
0000368C 486D FCF6 pea.l [A5 - 0x30A]
00003690 A92B syscall GrowWindow
00003692 201F move.l D0, [A7]+
00003694 2800 move.l D4, D0
00003696 4A84 tst.l D4
00003698 6700 00B6 beq +0xB8 /* 00003750 */
0000369C 486A 0010 pea.l [A2 + 0x10]
000036A0 A8A3 syscall EraseRect
000036A2 2F0A move.l -[A7], A2
000036A4 554F subq.w A7, 2
000036A6 3F3C 0030 move.w -[A7], 0x30 /* '0' */
000036AA A88D syscall CharWidth
000036AC 301F move.w D0, [A7]+
000036AE 3F40 0004 move.w [A7 + 0x4], D0
000036B2 554F subq.w A7, 2
000036B4 3F3C 0030 move.w -[A7], 0x30 /* '0' */
000036B8 A88D syscall CharWidth
000036BA 301F move.w D0, [A7]+
000036BC 72E8 moveq.l D1, 0xFFFFFFE8
000036BE D244 add.w D1, D4
000036C0 48C1 ext.l D1
000036C2 83C0 divs.w D1, D0
000036C4 C3EF 0004 muls.w D1, [A7 + 0x4]
000036C8 0641 0018 addi.w D1, 0x18
000036CC 3F01 move.w -[A7], D1
000036CE 2004 move.l D0, D4
000036D0 7210 moveq.l D1, 0x10
000036D2 E2A0 asr D0, D1
000036D4 5140 subq.w D0, 8
000036D6 48C0 ext.l D0
000036D8 81C3 divs.w D0, D3
000036DA C1C3 muls.w D0, D3
000036DC 5040 addq.w D0, 8
000036DE 3F00 move.w -[A7], D0
000036E0 4227 clr.b -[A7]
000036E2 A91D syscall SizeWindow
000036E4 486A 0010 pea.l [A2 + 0x10]
000036E8 A928 syscall InvalRect
000036EA 2F0A move.l -[A7], A2
000036EC 4EB9 0000 3322 jsr [0x00003322]
000036F2 2F2A 00A0 move.l -[A7], [A2 + 0xA0]
000036F6 70F1 moveq.l D0, 0xFFFFFFF1
000036F8 D06A 0016 add.w D0, [A2 + 0x16]
000036FC 3F00 move.w -[A7], D0
000036FE 302A 0010 move.w D0, [A2 + 0x10]
00003702 D043 add.w D0, D3
00003704 5640 addq.w D0, 3
00003706 3F00 move.w -[A7], D0
00003708 A959 syscall MoveControl
0000370A 2F2A 00A0 move.l -[A7], [A2 + 0xA0]
0000370E 3F3C 0010 move.w -[A7], 0x10
00003712 302A 0014 move.w D0, [A2 + 0x14]
00003716 906A 0010 sub.w D0, [A2 + 0x10]
0000371A 0640 FFEF addi.w D0, 0xFFEF
0000371E 9043 sub.w D0, D3
00003720 3F00 move.w -[A7], D0
00003722 A95C syscall SizeControl
00003724 206A 00A0 movea.l A0, [A2 + 0xA0]
00003728 2050 movea.l A0, [A0]
0000372A 2F68 0008 0006 move.l [A7 + 0x6], [A0 + 0x8]
00003730 2F68 000C 000A move.l [A7 + 0xA], [A0 + 0xC]
00003736 486F 0006 pea.l [A7 + 0x6]
0000373A A92A syscall ValidRect
0000373C 4EB9 0000 344A jsr [0x0000344A]
00003742 4EB9 0000 32DA jsr [0x000032DA]
00003748 2F2F 000E move.l -[A7], [A7 + 0xE]
0000374C A873 syscall SetPort
0000374E 584F addq.w A7, 4
label00003750:
00003750 4FEF 000E lea.l A7, [A7 + 0xE]
00003754 4CDF 0418 movem.l D3,D4,A2, [A7]+
00003758 4E75 rts
0000375A 48E7 1820 movem.l -[A7], D3,D4,A2
0000375E 382F 0010 move.w D4, [A7 + 0x10]
00003762 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003766 2468 009C movea.l A2, [A0 + 0x9C]
0000376A 4A44 tst.w D4
0000376C 6752 beq +0x54 /* 000037C0 */
0000376E 3004 move.w D0, D4
00003770 0440 0014 subi.w D0, 0x14
00003774 670E beq +0x10 /* 00003784 */
00003776 5340 subq.w D0, 1
00003778 670A beq +0xC /* 00003784 */
0000377A 5340 subq.w D0, 1
0000377C 670A beq +0xC /* 00003788 */
0000377E 5340 subq.w D0, 1
00003780 6706 beq +0x8 /* 00003788 */
00003782 601A bra +0x1C /* 0000379E */
label00003784:
00003784 7601 moveq.l D3, 0x01
00003786 6016 bra +0x18 /* 0000379E */
label00003788:
00003788 2052 movea.l A0, [A2]
0000378A 2252 movea.l A1, [A2]
0000378C 3028 0018 move.w D0, [A0 + 0x18]
00003790 2052 movea.l A0, [A2]
00003792 3628 000C move.w D3, [A0 + 0xC]
00003796 9669 0008 sub.w D3, [A1 + 0x8]
0000379A 48C3 ext.l D3
0000379C 87C0 divs.w D3, D0
label0000379E:
0000379E 0C44 0015 cmpi.w D4, 0x15
000037A2 6706 beq +0x8 /* 000037AA */
000037A4 0C44 0017 cmpi.w D4, 0x17
000037A8 6602 bne +0x4 /* 000037AC */
label000037AA:
000037AA 4443 neg.w D3
label000037AC:
000037AC 3F03 move.w -[A7], D3
000037AE 2F2F 0014 move.l -[A7], [A7 + 0x14]
000037B2 4EB9 0000 34BC jsr [0x000034BC]
000037B8 4EB9 0000 32DA jsr [0x000032DA]
000037BE 5C4F addq.w A7, 6
label000037C0:
000037C0 4CDF 0418 movem.l D3,D4,A2, [A7]+
000037C4 205F movea.l A0, [A7]+
000037C6 5C4F addq.w A7, 6
000037C8 4ED0 jmp [A0]
000037CA 48E7 1038 movem.l -[A7], D3,A2,A3,A4
000037CE 514F subq.w A7, 8
000037D0 286F 001C movea.l A4, [A7 + 0x1C]
000037D4 246F 0020 movea.l A2, [A7 + 0x20]
000037D8 4857 pea.l [A7]
000037DA A874 syscall GetPort
000037DC 2F0C move.l -[A7], A4
000037DE A873 syscall SetPort
000037E0 486A 000A pea.l [A2 + 0xA]
000037E4 A871 syscall GlobalToLocal
000037E6 554F subq.w A7, 2
000037E8 2F2A 000A move.l -[A7], [A2 + 0xA]
000037EC 2F0C move.l -[A7], A4
000037EE 486F 000E pea.l [A7 + 0xE]
000037F2 A96C syscall FindControl
000037F4 301F move.w D0, [A7]+
000037F6 3600 move.w D3, D0
000037F8 6600 0084 bne +0x86 /* 0000387E */
000037FC 554F subq.w A7, 2
000037FE 2F2A 000A move.l -[A7], [A2 + 0xA]
00003802 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003806 2068 009C movea.l A0, [A0 + 0x9C]
0000380A 2050 movea.l A0, [A0]
0000380C 4868 0008 pea.l [A0 + 0x8]
00003810 A8AD syscall PtInRect
00003812 101F move.b D0, [A7]+
00003814 6700 009C beq +0x9E /* 000038B2 */
00003818 2F2A 000A move.l -[A7], [A2 + 0xA]
0000381C 302A 000E move.w D0, [A2 + 0xE]
00003820 0280 0000 0200 andi.l D0, 0x200
00003826 56C0 sne D0
00003828 4400 neg.b D0
0000382A 4880 ext.w D0
0000382C 1F00 move.b -[A7], D0
0000382E 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003832 2F28 009C move.l -[A7], [A0 + 0x9C]
00003836 A9D4 syscall TEClick
00003838 206D E1E6 movea.l A0, [A5 - 0x1E1A]
0000383C 2068 009C movea.l A0, [A0 + 0x9C]
00003840 2650 movea.l A3, [A0]
00003842 302B 0020 move.w D0, [A3 + 0x20]
00003846 B06B 0022 cmp.w D0, [A3 + 0x22]
0000384A 662A bne +0x2C /* 00003876 */
0000384C 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003850 2F28 009C move.l -[A7], [A0 + 0x9C]
00003854 3F2D E1F2 move.w -[A7], [A5 - 0x1E0E]
00003858 4EB9 0000 2168 jsr [0x00002168]
0000385E 4A00 tst.b D0
00003860 5C4F addq.w A7, 6
00003862 6612 bne +0x14 /* 00003876 */
00003864 306D E1F2 movea.w A0, [A5 - 0x1E0E]
00003868 2F08 move.l -[A7], A0
0000386A 2F08 move.l -[A7], A0
0000386C 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003870 2F28 009C move.l -[A7], [A0 + 0x9C]
00003874 A9D1 syscall TESetSelect
label00003876:
00003876 4EB9 0000 344A jsr [0x0000344A]
0000387C 6034 bra +0x36 /* 000038B2 */
label0000387E:
0000387E 0C43 0081 cmpi.w D3, 0x81
00003882 6618 bne +0x1A /* 0000389C */
00003884 554F subq.w A7, 2
00003886 2F2F 0006 move.l -[A7], [A7 + 0x6]
0000388A 2F2A 000A move.l -[A7], [A2 + 0xA]
0000388E 42A7 clr.l -[A7]
00003890 A968 syscall TrackControl
00003892 301F move.w D0, [A7]+
00003894 4EB9 0000 32DA jsr [0x000032DA]
0000389A 6016 bra +0x18 /* 000038B2 */
label0000389C:
0000389C 47F9 0000 0078 lea.l A3, [0x00000078 /* __m68k_vec_switch_scc__ */]
000038A2 554F subq.w A7, 2
000038A4 2F2F 0006 move.l -[A7], [A7 + 0x6]
000038A8 2F2A 000A move.l -[A7], [A2 + 0xA]
000038AC 2F0B move.l -[A7], A3
000038AE A968 syscall TrackControl
000038B0 301F move.w D0, [A7]+
label000038B2:
000038B2 2F17 move.l -[A7], [A7]
000038B4 A873 syscall SetPort
000038B6 504F addq.w A7, 8
000038B8 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
000038BC 4E75 rts
000038BE 48E7 1C00 movem.l -[A7], D3,D4,D5
000038C2 4FEF FF6A lea.l A7, [A7 - 0x96]
000038C6 2F6D FE7A 008E move.l [A7 + 0x8E], [A5 - 0x186]
000038CC 2F6D FE7E 0092 move.l [A7 + 0x92], [A5 - 0x182]
000038D2 0C2D FFFF FCF4 cmpi.b [A5 - 0x30C], 0xFF
000038D8 6606 bne +0x8 /* 000038E0 */
000038DA 4EB9 0000 19FC jsr [0x000019FC]
label000038E0:
000038E0 4A2D FCF4 tst.b [A5 - 0x30C]
000038E4 6700 0092 beq +0x94 /* 00003978 */
000038E8 554F subq.w A7, 2
000038EA 486F 0004 pea.l [A7 + 0x4]
000038EE 3F3C 0037 move.w -[A7], 0x37 /* '7' */
000038F2 A88F syscall OSDispatch
000038F4 301F move.w D0, [A7]+
000038F6 3600 move.w D3, D0
000038F8 41EF 000A lea.l A0, [A7 + 0xA]
000038FC 2F48 0056 move.l [A7 + 0x56], A0
00003900 703C moveq.l D0, 0x3C
00003902 2F40 0052 move.l [A7 + 0x52], D0
00003906 42AF 008A clr.l [A7 + 0x8A]
0000390A 554F subq.w A7, 2
0000390C 486F 0004 pea.l [A7 + 0x4]
00003910 486F 0058 pea.l [A7 + 0x58]
00003914 3F3C 003A move.w -[A7], 0x3A /* ':' */
00003918 A88F syscall OSDispatch
0000391A 301F move.w D0, [A7]+
0000391C 3600 move.w D3, D0
0000391E 206F 0056 movea.l A0, [A7 + 0x56]
00003922 7000 moveq.l D0, 0x00
00003924 1010 move.b D0, [A0]
00003926 0C40 003B cmpi.w D0, 0x3B /* ';' */
0000392A 6E4C bgt +0x4E /* 00003978 */
0000392C 5210 addq.b [A0], 1
0000392E 7000 moveq.l D0, 0x00
00003930 1010 move.b D0, [A0]
00003932 206F 0056 movea.l A0, [A7 + 0x56]
00003936 11BC 002E 0000 move.b [A0 + D0.w], 0x2E /* '.' */
0000393C 206F 0056 movea.l A0, [A7 + 0x56]
00003940 5210 addq.b [A0], 1
00003942 7000 moveq.l D0, 0x00
00003944 1010 move.b D0, [A0]
00003946 206F 0056 movea.l A0, [A7 + 0x56]
0000394A 11BC 006F 0000 move.b [A0 + D0.w], 0x6F /* 'o' */
00003950 206F 0056 movea.l A0, [A7 + 0x56]
00003954 5210 addq.b [A0], 1
00003956 7000 moveq.l D0, 0x00
00003958 1010 move.b D0, [A0]
0000395A 206F 0056 movea.l A0, [A7 + 0x56]
0000395E 11BC 0075 0000 move.b [A0 + D0.w], 0x75 /* 'u' */
00003964 206F 0056 movea.l A0, [A7 + 0x56]
00003968 5210 addq.b [A0], 1
0000396A 7000 moveq.l D0, 0x00
0000396C 1010 move.b D0, [A0]
0000396E 206F 0056 movea.l A0, [A7 + 0x56]
00003972 11BC 0074 0000 move.b [A0 + D0.w], 0x74 /* 't' */
label00003978:
00003978 4A2F 000A tst.b [A7 + 0xA]
0000397C 660C bne +0xE /* 0000398A */
0000397E 41ED FE82 lea.l A0, [A5 - 0x17E]
00003982 43EF 000A lea.l A1, [A7 + 0xA]
00003986 7011 moveq.l D0, 0x11
00003988 A02E syscall BlockMove/BlockMoveData
label0000398A:
0000398A 203C 0000 00EE move.l D0, 0xEE
00003990 A11E syscall NewPtr, flags=1
00003992 2B48 E1E6 move.l [A5 - 0x1E1A], A0
00003996 2008 move.l D0, A0
00003998 6606 bne +0x8 /* 000039A0 */
0000399A 7000 moveq.l D0, 0x00
0000399C 6000 0238 bra +0x23A /* 00003BD6 */
label000039A0:
000039A0 594F subq.w A7, 4
000039A2 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
000039A6 486F 0096 pea.l [A7 + 0x96]
000039AA 486F 0016 pea.l [A7 + 0x16]
000039AE 4227 clr.b -[A7]
000039B0 4267 clr.w -[A7]
000039B2 4878 FFFF push.l 0xFFFF
000039B6 4227 clr.b -[A7]
000039B8 42A7 clr.l -[A7]
000039BA A913 syscall NewWindow
000039BC 205F movea.l A0, [A7]+
000039BE 2008 move.l D0, A0
000039C0 6606 bne +0x8 /* 000039C8 */
000039C2 7000 moveq.l D0, 0x00
000039C4 6000 0210 bra +0x212 /* 00003BD6 */
label000039C8:
000039C8 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
000039CC A873 syscall SetPort
000039CE 3F2D FD12 move.w -[A7], [A5 - 0x2EE]
000039D2 A887 syscall TextFont
000039D4 3F2D FD14 move.w -[A7], [A5 - 0x2EC]
000039D8 A88A syscall TextSize
000039DA 3F2D FD16 move.w -[A7], [A5 - 0x2EA]
000039DE A888 syscall TextFace
000039E0 486F 004A pea.l [A7 + 0x4A]
000039E4 A88B syscall GetFontInfo
000039E6 362F 004A move.w D3, [A7 + 0x4A]
000039EA D66F 004C add.w D3, [A7 + 0x4C]
000039EE D66F 0050 add.w D3, [A7 + 0x50]
000039F2 4A6D FD0A tst.w [A5 - 0x2F6]
000039F6 6F06 ble +0x8 /* 000039FE */
000039F8 302D FD0A move.w D0, [A5 - 0x2F6]
000039FC 6002 bra +0x4 /* 00003A00 */
label000039FE:
000039FE 7050 moveq.l D0, 0x50
label00003A00:
00003A00 3B40 FD0A move.w [A5 - 0x2F6], D0
00003A04 4A6D FD0C tst.w [A5 - 0x2F4]
00003A08 6F06 ble +0x8 /* 00003A10 */
00003A0A 302D FD0C move.w D0, [A5 - 0x2F4]
00003A0E 6002 bra +0x4 /* 00003A12 */
label00003A10:
00003A10 7018 moveq.l D0, 0x18
label00003A12:
00003A12 3B40 FD0C move.w [A5 - 0x2F4], D0
00003A16 5240 addq.w D0, 1
00003A18 C1C3 muls.w D0, D3
00003A1A 0640 000C addi.w D0, 0xC
00003A1E 3F40 0092 move.w [A7 + 0x92], D0
00003A22 554F subq.w A7, 2
00003A24 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00003A28 A88D syscall CharWidth
00003A2A 301F move.w D0, [A7]+
00003A2C C1ED FD0A muls.w D0, [A5 - 0x2F6]
00003A30 0640 0018 addi.w D0, 0x18
00003A34 3F40 0094 move.w [A7 + 0x94], D0
00003A38 554F subq.w A7, 2
00003A3A 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00003A3E 301F move.w D0, [A7]+
00003A40 322D 9ACC move.w D1, [A5 - 0x6534]
00003A44 926D 9AC8 sub.w D1, [A5 - 0x6538]
00003A48 9240 sub.w D1, D0
00003A4A 0641 FFE8 addi.w D1, 0xFFE8
00003A4E 3801 move.w D4, D1
00003A50 3A2D 9ACE move.w D5, [A5 - 0x6532]
00003A54 9A6D 9ACA sub.w D5, [A5 - 0x6536]
00003A58 B86F 0092 cmp.w D4, [A7 + 0x92]
00003A5C 6C12 bge +0x14 /* 00003A70 */
00003A5E 70F4 moveq.l D0, 0xFFFFFFF4
00003A60 D044 add.w D0, D4
00003A62 48C0 ext.l D0
00003A64 81C3 divs.w D0, D3
00003A66 C1C3 muls.w D0, D3
00003A68 0640 000C addi.w D0, 0xC
00003A6C 3F40 0092 move.w [A7 + 0x92], D0
label00003A70:
00003A70 4A6D FD0E tst.w [A5 - 0x2F2]
00003A74 666E bne +0x70 /* 00003AE4 */
00003A76 4A6D FD10 tst.w [A5 - 0x2F0]
00003A7A 6668 bne +0x6A /* 00003AE4 */
00003A7C BA6F 0094 cmp.w D5, [A7 + 0x94]
00003A80 6C28 bge +0x2A /* 00003AAA */
00003A82 554F subq.w A7, 2
00003A84 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00003A88 A88D syscall CharWidth
00003A8A 301F move.w D0, [A7]+
00003A8C 3E80 move.w [A7], D0
00003A8E 554F subq.w A7, 2
00003A90 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00003A94 A88D syscall CharWidth
00003A96 301F move.w D0, [A7]+
00003A98 72D4 moveq.l D1, 0xFFFFFFD4
00003A9A D245 add.w D1, D5
00003A9C 48C1 ext.l D1
00003A9E 83C0 divs.w D1, D0
00003AA0 C3D7 muls.w D1, [A7]
00003AA2 0641 0018 addi.w D1, 0x18
00003AA6 3F41 0094 move.w [A7 + 0x94], D1
label00003AAA:
00003AAA 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00003AAE 302D 9ACE move.w D0, [A5 - 0x6532]
00003AB2 906D 9ACA sub.w D0, [A5 - 0x6536]
00003AB6 906F 0098 sub.w D0, [A7 + 0x98]
00003ABA 48C0 ext.l D0
00003ABC 81FC 0002 divs.w D0, 0x2
00003AC0 3F00 move.w -[A7], D0
00003AC2 554F subq.w A7, 2
00003AC4 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00003AC8 301F move.w D0, [A7]+
00003ACA 3204 move.w D1, D4
00003ACC 926F 0098 sub.w D1, [A7 + 0x98]
00003AD0 48C1 ext.l D1
00003AD2 83FC 0005 divs.w D1, 0x5
00003AD6 D240 add.w D1, D0
00003AD8 0641 0018 addi.w D1, 0x18
00003ADC 3F01 move.w -[A7], D1
00003ADE 4227 clr.b -[A7]
00003AE0 A91B syscall MoveWindow
00003AE2 6010 bra +0x12 /* 00003AF4 */
label00003AE4:
00003AE4 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00003AE8 3F2D FD10 move.w -[A7], [A5 - 0x2F0]
00003AEC 3F2D FD0E move.w -[A7], [A5 - 0x2F2]
00003AF0 4227 clr.b -[A7]
00003AF2 A91B syscall MoveWindow
label00003AF4:
00003AF4 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00003AF8 3F2F 0098 move.w -[A7], [A7 + 0x98]
00003AFC 3F2F 0098 move.w -[A7], [A7 + 0x98]
00003B00 1F3C 0001 move.b -[A7], 0x1
00003B04 A91D syscall SizeWindow
00003B06 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003B0A 2F68 0010 008E move.l [A7 + 0x8E], [A0 + 0x10]
00003B10 2F68 0014 0092 move.l [A7 + 0x92], [A0 + 0x14]
00003B16 70F1 moveq.l D0, 0xFFFFFFF1
00003B18 D06F 0094 add.w D0, [A7 + 0x94]
00003B1C 3F40 0090 move.w [A7 + 0x90], D0
00003B20 526F 0094 addq.w [A7 + 0x94], 1
00003B24 046F 000E 0092 subi.w [A7 + 0x92], 0xE
00003B2A 3003 move.w D0, D3
00003B2C 5640 addq.w D0, 3
00003B2E D16F 008E add.w [A7 + 0x8E], D0
00003B32 594F subq.w A7, 4
00003B34 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00003B38 486F 0096 pea.l [A7 + 0x96]
00003B3C 486D FE93 pea.l [A5 - 0x16D]
00003B40 1F3C 0001 move.b -[A7], 0x1
00003B44 42A7 clr.l -[A7]
00003B46 2F3C 0010 0000 move.l -[A7], 0x100000
00003B4C 42A7 clr.l -[A7]
00003B4E A954 syscall NewControl
00003B50 205F movea.l A0, [A7]+
00003B52 226D E1E6 movea.l A1, [A5 - 0x1E1A]
00003B56 2348 00A0 move.l [A1 + 0xA0], A0
00003B5A 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00003B5E A915 syscall ShowWindow
00003B60 206D 9B3C movea.l A0, [A5 - 0x64C4]
00003B64 2F68 0010 008E move.l [A7 + 0x8E], [A0 + 0x10]
00003B6A 2F68 0014 0092 move.l [A7 + 0x92], [A0 + 0x14]
00003B70 046F 000F 0094 subi.w [A7 + 0x94], 0xF
00003B76 3003 move.w D0, D3
00003B78 5840 addq.w D0, 4
00003B7A D16F 008E add.w [A7 + 0x8E], D0
00003B7E 486F 008E pea.l [A7 + 0x8E]
00003B82 2F3C 0004 0004 move.l -[A7], 0x40004
00003B88 A8A9 syscall InsetRect
00003B8A 594F subq.w A7, 4
00003B8C 486F 0092 pea.l [A7 + 0x92]
00003B90 486F 0096 pea.l [A7 + 0x96]
00003B94 A9D2 syscall TENew
00003B96 205F movea.l A0, [A7]+
00003B98 226D E1E6 movea.l A1, [A5 - 0x1E1A]
00003B9C 2348 009C move.l [A1 + 0x9C], A0
00003BA0 1F3C 0001 move.b -[A7], 0x1
00003BA4 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003BA8 2F28 009C move.l -[A7], [A0 + 0x9C]
00003BAC A813 syscall TEAutoView
00003BAE 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003BB2 316D FD0C 00A4 move.w [A0 + 0xA4], [A5 - 0x2F4]
00003BB8 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003BBC 4228 00A7 clr.b [A0 + 0xA7]
00003BC0 206D E1E6 movea.l A0, [A5 - 0x1E1A]
00003BC4 4228 00A6 clr.b [A0 + 0xA6]
00003BC8 2F2D E1E6 move.l -[A7], [A5 - 0x1E1A]
00003BCC 4EB9 0000 33FC jsr [0x000033FC]
00003BD2 7001 moveq.l D0, 0x01
00003BD4 584F addq.w A7, 4
label00003BD6:
00003BD6 4FEF 0096 lea.l A7, [A7 + 0x96]
00003BDA 4CDF 0038 movem.l D3,D4,D5, [A7]+
00003BDE 4E75 rts
00003BE0 48E7 1820 movem.l -[A7], D3,D4,A2
00003BE4 4FEF FFD6 lea.l A7, [A7 - 0x2A]
00003BE8 2F6D FE94 0022 move.l [A7 + 0x22], [A5 - 0x16C]
00003BEE 2F6D FE98 0026 move.l [A7 + 0x26], [A5 - 0x168]
00003BF4 7600 moveq.l D3, 0x00
00003BF6 2F6D FE9C 0018 move.l [A7 + 0x18], [A5 - 0x164]
00003BFC 3F6D FEA0 001C move.w [A7 + 0x1C], [A5 - 0x160]
00003C02 2F6D E204 0012 move.l [A7 + 0x12], [A5 - 0x1DFC]
00003C08 3F6D E208 0016 move.w [A7 + 0x16], [A5 - 0x1DF8]
00003C0E 486D 9AD0 pea.l [A5 - 0x6530]
00003C12 A851 syscall SetCursor
00003C14 486F 001E pea.l [A7 + 0x1E]
00003C18 A874 syscall GetPort
00003C1A 382D 9ACE move.w D4, [A5 - 0x6532]
00003C1E 986D 9ACA sub.w D4, [A5 - 0x6536]
00003C22 986F 0028 sub.w D4, [A7 + 0x28]
00003C26 48C4 ext.l D4
00003C28 89FC 0002 divs.w D4, 0x2
00003C2C 554F subq.w A7, 2
00003C2E 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00003C32 301F move.w D0, [A7]+
00003C34 3E80 move.w [A7], D0
00003C36 554F subq.w A7, 2
00003C38 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00003C3C 301F move.w D0, [A7]+
00003C3E 322D 9ACC move.w D1, [A5 - 0x6534]
00003C42 926D 9AC8 sub.w D1, [A5 - 0x6538]
00003C46 9240 sub.w D1, D0
00003C48 926F 0026 sub.w D1, [A7 + 0x26]
00003C4C 48C1 ext.l D1
00003C4E 83FC 0005 divs.w D1, 0x5
00003C52 D257 add.w D1, [A7]
00003C54 3601 move.w D3, D1
00003C56 486F 0022 pea.l [A7 + 0x22]
00003C5A 3F04 move.w -[A7], D4
00003C5C 3F03 move.w -[A7], D3
00003C5E A8A8 syscall OffsetRect
00003C60 594F subq.w A7, 4
00003C62 42A7 clr.l -[A7]
00003C64 486F 002A pea.l [A7 + 0x2A]
00003C68 486D FE93 pea.l [A5 - 0x16D]
00003C6C 1F3C 0001 move.b -[A7], 0x1
00003C70 3F3C 0001 move.w -[A7], 0x1
00003C74 4878 FFFF push.l 0xFFFF
00003C78 4227 clr.b -[A7]
00003C7A 42A7 clr.l -[A7]
00003C7C A913 syscall NewWindow
00003C7E 205F movea.l A0, [A7]+
00003C80 2448 movea.l A2, A0
00003C82 2008 move.l D0, A0
00003C84 660A bne +0xC /* 00003C90 */
00003C86 3F3C 0001 move.w -[A7], 0x1
00003C8A A9C8 syscall SysBeep
00003C8C 6000 00D6 bra +0xD8 /* 00003D64 */
label00003C90:
00003C90 2F0A move.l -[A7], A2
00003C92 A873 syscall SetPort
00003C94 4267 clr.w -[A7]
00003C96 A887 syscall TextFont
00003C98 3F3C 0018 move.w -[A7], 0x18
00003C9C A88A syscall TextSize
00003C9E 3F3C 0001 move.w -[A7], 0x1
00003CA2 A888 syscall TextFace
00003CA4 486F 0018 pea.l [A7 + 0x18]
00003CA8 AA14 syscall RGBForeColor
00003CAA 486F 0022 pea.l [A7 + 0x22]
00003CAE 2F3C 0005 0000 move.l -[A7], 0x50000
00003CB4 2F3C 0023 00F0 move.l -[A7], 0x2300F0
00003CBA A8A7 syscall SetRect
00003CBC 486D FEA2 pea.l [A5 - 0x15E]
00003CC0 4878 0005 push.l 0x5
00003CC4 486F 002A pea.l [A7 + 0x2A]
00003CC8 3F3C 0001 move.w -[A7], 0x1
00003CCC A9CE syscall TETextBox/TextBox
00003CCE 3F3C 000C move.w -[A7], 0xC
00003CD2 A88A syscall TextSize
00003CD4 4267 clr.w -[A7]
00003CD6 A888 syscall TextFace
00003CD8 486F 0012 pea.l [A7 + 0x12]
00003CDC AA14 syscall RGBForeColor
00003CDE 486F 0022 pea.l [A7 + 0x22]
00003CE2 2F3C 0023 0000 move.l -[A7], 0x230000 /* '#\0\0' */
00003CE8 2F3C 0037 00F0 move.l -[A7], 0x3700F0
00003CEE A8A7 syscall SetRect
00003CF0 486D FEA8 pea.l [A5 - 0x158]
00003CF4 4878 0021 push.l 0x21 /* '!' */
00003CF8 486F 002A pea.l [A7 + 0x2A]
00003CFC 3F3C 0001 move.w -[A7], 0x1
00003D00 A9CE syscall TETextBox/TextBox
00003D02 486F 0022 pea.l [A7 + 0x22]
00003D06 2F3C 0037 0000 move.l -[A7], 0x370000 /* '7\0\0' */
00003D0C 2F3C 004B 00F0 move.l -[A7], 0x4B00F0
00003D12 A8A7 syscall SetRect
00003D14 486D FECB pea.l [A5 - 0x135]
00003D18 4878 000A push.l 0xA /* '\n' */
00003D1C 486F 002A pea.l [A7 + 0x2A]
00003D20 3F3C 0001 move.w -[A7], 0x1
00003D24 A9CE syscall TETextBox/TextBox
00003D26 486F 0022 pea.l [A7 + 0x22]
00003D2A 2F3C 004B 0000 move.l -[A7], 0x4B0000 /* 'K\0\0' */
00003D30 2F3C 005F 00F0 move.l -[A7], 0x5F00F0
00003D36 A8A7 syscall SetRect
00003D38 486D FED6 pea.l [A5 - 0x12A]
00003D3C 4878 0015 push.l 0x15
00003D40 486F 002A pea.l [A7 + 0x2A]
00003D44 3F3C 0001 move.w -[A7], 0x1
00003D48 A9CE syscall TETextBox/TextBox
label00003D4A:
00003D4A 554F subq.w A7, 2
00003D4C 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003D50 486F 0006 pea.l [A7 + 0x6]
00003D54 A970 syscall GetNextEvent
00003D56 101F move.b D0, [A7]+
00003D58 67F0 beq -0xE /* 00003D4A */
00003D5A 2F0A move.l -[A7], A2
00003D5C A914 syscall DisposeWindow
00003D5E 2F2F 001E move.l -[A7], [A7 + 0x1E]
00003D62 A873 syscall SetPort
label00003D64:
00003D64 4FEF 002A lea.l A7, [A7 + 0x2A]
00003D68 4CDF 0418 movem.l D3,D4,A2, [A7]+
00003D6C 4E75 rts
00003D6E 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00003D72 4FEF FF76 lea.l A7, [A7 - 0x8A]
00003D76 266F 00A6 movea.l A3, [A7 + 0xA6]
00003D7A 2F6D FEEC 0082 move.l [A7 + 0x82], [A5 - 0x114]
00003D80 2F6D FEF0 0086 move.l [A7 + 0x86], [A5 - 0x110]
00003D86 7600 moveq.l D3, 0x00
00003D88 41ED FEF4 lea.l A0, [A5 - 0x10C]
00003D8C 43EF 000E lea.l A1, [A7 + 0xE]
00003D90 7018 moveq.l D0, 0x18
label00003D92:
00003D92 22D8 move.l [A1]+, [A0]+
00003D94 51C8 FFFC dbf D0, -0x6 /* 00003D92 */
00003D98 486D 9AD0 pea.l [A5 - 0x6530]
00003D9C A851 syscall SetCursor
00003D9E 486F 0006 pea.l [A7 + 0x6]
00003DA2 A874 syscall GetPort
00003DA4 3A2D 9ACE move.w D5, [A5 - 0x6532]
00003DA8 9A6D 9ACA sub.w D5, [A5 - 0x6536]
00003DAC 9A6F 0088 sub.w D5, [A7 + 0x88]
00003DB0 48C5 ext.l D5
00003DB2 8BFC 0002 divs.w D5, 0x2
00003DB6 554F subq.w A7, 2
00003DB8 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00003DBC 301F move.w D0, [A7]+
00003DBE 3E80 move.w [A7], D0
00003DC0 554F subq.w A7, 2
00003DC2 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00003DC6 301F move.w D0, [A7]+
00003DC8 322D 9ACC move.w D1, [A5 - 0x6534]
00003DCC 926D 9AC8 sub.w D1, [A5 - 0x6538]
00003DD0 9240 sub.w D1, D0
00003DD2 926F 0086 sub.w D1, [A7 + 0x86]
00003DD6 48C1 ext.l D1
00003DD8 83FC 0005 divs.w D1, 0x5
00003DDC D257 add.w D1, [A7]
00003DDE 3801 move.w D4, D1
00003DE0 486F 0082 pea.l [A7 + 0x82]
00003DE4 3F05 move.w -[A7], D5
00003DE6 3F04 move.w -[A7], D4
00003DE8 A8A8 syscall OffsetRect
00003DEA 594F subq.w A7, 4
00003DEC 42A7 clr.l -[A7]
00003DEE 486F 008A pea.l [A7 + 0x8A]
00003DF2 486D FE93 pea.l [A5 - 0x16D]
00003DF6 1F3C 0001 move.b -[A7], 0x1
00003DFA 3F3C 0001 move.w -[A7], 0x1
00003DFE 4878 FFFF push.l 0xFFFF
00003E02 4227 clr.b -[A7]
00003E04 42A7 clr.l -[A7]
00003E06 A913 syscall NewWindow
00003E08 205F movea.l A0, [A7]+
00003E0A 2448 movea.l A2, A0
00003E0C 2008 move.l D0, A0
00003E0E 660A bne +0xC /* 00003E1A */
00003E10 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003E14 A9C8 syscall SysBeep
00003E16 6000 0182 bra +0x184 /* 00003F9A */
label00003E1A:
00003E1A 2F0A move.l -[A7], A2
00003E1C A873 syscall SetPort
00003E1E 4267 clr.w -[A7]
00003E20 A887 syscall TextFont
00003E22 3F3C 000C move.w -[A7], 0xC
00003E26 A88A syscall TextSize
00003E28 4267 clr.w -[A7]
00003E2A A888 syscall TextFace
00003E2C 486F 0082 pea.l [A7 + 0x82]
00003E30 2F3C 0004 0032 move.l -[A7], 0x40032
00003E36 2F3C 002E 0104 move.l -[A7], 0x2E0104
00003E3C A8A7 syscall SetRect
00003E3E 486F 000E pea.l [A7 + 0xE]
00003E42 4EB9 0000 283E jsr [0x0000283E]
00003E48 3800 move.w D4, D0
00003E4A 41EB 0001 lea.l A0, [A3 + 0x1]
00003E4E 43EF 0012 lea.l A1, [A7 + 0x12]
00003E52 43F1 4000 lea.l A1, [A1 + D4.w]
00003E56 7000 moveq.l D0, 0x00
00003E58 1013 move.b D0, [A3]
00003E5A A02E syscall BlockMove/BlockMoveData
00003E5C 7000 moveq.l D0, 0x00
00003E5E 1013 move.b D0, [A3]
00003E60 D044 add.w D0, D4
00003E62 5240 addq.w D0, 1
00003E64 41EF 0012 lea.l A0, [A7 + 0x12]
00003E68 4230 0000 clr.b [A0 + D0.w]
00003E6C 486D FF58 pea.l [A5 - 0xA8]
00003E70 486F 0016 pea.l [A7 + 0x16]
00003E74 4EB9 0000 193C jsr [0x0000193C]
00003E7A 486F 001A pea.l [A7 + 0x1A]
00003E7E 486F 001E pea.l [A7 + 0x1E]
00003E82 4EB9 0000 283E jsr [0x0000283E]
00003E88 584F addq.w A7, 4
00003E8A 2F00 move.l -[A7], D0
00003E8C 486F 0096 pea.l [A7 + 0x96]
00003E90 3F3C FFFE move.w -[A7], 0xFFFE
00003E94 A9CE syscall TETextBox/TextBox
00003E96 486F 008E pea.l [A7 + 0x8E]
00003E9A 2F3C 0008 0008 move.l -[A7], 0x80008
00003EA0 2F3C 0028 0028 move.l -[A7], 0x280028 /* '(\0(' */
00003EA6 A8A7 syscall SetRect
00003EA8 4267 clr.w -[A7]
00003EAA A9BB syscall GetIcon
00003EAC 205F movea.l A0, [A7]+
00003EAE 2848 movea.l A4, A0
00003EB0 486F 008A pea.l [A7 + 0x8A]
00003EB4 2F0C move.l -[A7], A4
00003EB6 A94B syscall PlotIcon
00003EB8 486F 008A pea.l [A7 + 0x8A]
00003EBC 2F3C 0032 0069 move.l -[A7], 0x320069 /* '2\0i' */
00003EC2 2F3C 0044 00A5 move.l -[A7], 0x4400A5
00003EC8 A8A7 syscall SetRect
00003ECA 2F0A move.l -[A7], A2
00003ECC 486F 008E pea.l [A7 + 0x8E]
00003ED0 486D FF5B pea.l [A5 - 0xA5]
00003ED4 1F3C 0001 move.b -[A7], 0x1
00003ED8 42A7 clr.l -[A7]
00003EDA 2F3C 0008 0000 move.l -[A7], 0x80000
00003EE0 42A7 clr.l -[A7]
00003EE2 A954 syscall NewControl
00003EE4 205F movea.l A0, [A7]+
00003EE6 2648 movea.l A3, A0
00003EE8 2F0B move.l -[A7], A3
00003EEA 4EB9 0000 326E jsr [0x0000326E]
00003EF0 504F addq.w A7, 8
00003EF2 6000 008E bra +0x90 /* 00003F82 */
label00003EF6:
00003EF6 554F subq.w A7, 2
00003EF8 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003EFC 486F 0076 pea.l [A7 + 0x76]
00003F00 A970 syscall GetNextEvent
00003F02 101F move.b D0, [A7]+
00003F04 677C beq +0x7E /* 00003F82 */
00003F06 0C6F 0001 0072 cmpi.w [A7 + 0x72], 0x1
00003F0C 664A bne +0x4C /* 00003F58 */
00003F0E 554F subq.w A7, 2
00003F10 2F2F 007E move.l -[A7], [A7 + 0x7E]
00003F14 486F 0010 pea.l [A7 + 0x10]
00003F18 A92C syscall FindWindow
00003F1A 301F move.w D0, [A7]+
00003F1C 5740 subq.w D0, 3
00003F1E 6662 bne +0x64 /* 00003F82 */
00003F20 B5EF 000A cmpa.l A2, [A7 + 0xA]
00003F24 665C bne +0x5E /* 00003F82 */
00003F26 486F 007C pea.l [A7 + 0x7C]
00003F2A A871 syscall GlobalToLocal
00003F2C 554F subq.w A7, 2
00003F2E 2F2F 007E move.l -[A7], [A7 + 0x7E]
00003F32 2F0A move.l -[A7], A2
00003F34 486F 000C pea.l [A7 + 0xC]
00003F38 A96C syscall FindControl
00003F3A 301F move.w D0, [A7]+
00003F3C 0C40 000A cmpi.w D0, 0xA /* '\n' */
00003F40 6640 bne +0x42 /* 00003F82 */
00003F42 554F subq.w A7, 2
00003F44 2F2F 0004 move.l -[A7], [A7 + 0x4]
00003F48 2F2F 0082 move.l -[A7], [A7 + 0x82]
00003F4C 42A7 clr.l -[A7]
label00003F4E:
00003F4E A968 syscall TrackControl
00003F50 301F move.w D0, [A7]+
00003F52 672E beq +0x30 /* 00003F82 */
00003F54 7601 moveq.l D3, 0x01
00003F56 602A bra +0x2C /* 00003F82 */
label00003F58:
00003F58 0C6F 0003 0072 cmpi.w [A7 + 0x72], 0x3
00003F5E 6622 bne +0x24 /* 00003F82 */
00003F60 282F 0074 move.l D4, [A7 + 0x74]
00003F64 0284 0000 00FF andi.l D4, 0xFF
00003F6A 0C04 000D cmpi.b D4, 0xD /* '\r' */
00003F6E 6706 beq +0x8 /* 00003F76 */
00003F70 0C04 0003 cmpi.b D4, 0x3
00003F74 660C bne +0xE /* 00003F82 */
label00003F76:
00003F76 2F0B move.l -[A7], A3
00003F78 4EB9 0000 324A jsr [0x0000324A]
00003F7E 7601 moveq.l D3, 0x01
00003F80 584F addq.w A7, 4
label00003F82:
00003F82 4A03 tst.b D3
00003F84 6700 FF70 beq -0x8E /* 00003EF6 */
00003F88 2F0B move.l -[A7], A3
00003F8A A955 syscall DisposeControl
00003F8C 2F0A move.l -[A7], A2
00003F8E A914 syscall DisposeWindow
00003F90 2F0C move.l -[A7], A4
00003F92 A9A3 syscall ReleaseResource
00003F94 2F2F 0006 move.l -[A7], [A7 + 0x6]
00003F98 A873 syscall SetPort
label00003F9A:
00003F9A 4FEF 008A lea.l A7, [A7 + 0x8A]
00003F9E 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00003FA2 4E75 rts
00003FA4 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
00003FA8 4FEF FF6C lea.l A7, [A7 - 0x94]
00003FAC 266F 00B8 movea.l A3, [A7 + 0xB8]
00003FB0 2F6D FF5E 008C move.l [A7 + 0x8C], [A5 - 0xA2]
00003FB6 2F6D FF62 0090 move.l [A7 + 0x90], [A5 - 0x9E]
00003FBC 41ED FF66 lea.l A0, [A5 - 0x9A]
00003FC0 43EF 000E lea.l A1, [A7 + 0xE]
00003FC4 7036 moveq.l D0, 0x36
label00003FC6:
00003FC6 32D8 move.w [A1]+, [A0]+
00003FC8 51C8 FFFC dbf D0, -0x6 /* 00003FC6 */
00003FCC 7A00 moveq.l D5, 0x00
00003FCE 486D 9AD0 pea.l [A5 - 0x6530]
00003FD2 A851 syscall SetCursor
00003FD4 486F 0002 pea.l [A7 + 0x2]
00003FD8 A874 syscall GetPort
00003FDA 3C2D 9ACE move.w D6, [A5 - 0x6532]
00003FDE 9C6D 9ACA sub.w D6, [A5 - 0x6536]
00003FE2 9C6F 0092 sub.w D6, [A7 + 0x92]
00003FE6 48C6 ext.l D6
00003FE8 8DFC 0002 divs.w D6, 0x2
00003FEC 554F subq.w A7, 2
00003FEE 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00003FF2 301F move.w D0, [A7]+
00003FF4 3E80 move.w [A7], D0
00003FF6 554F subq.w A7, 2
00003FF8 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
00003FFC 301F move.w D0, [A7]+
00003FFE 322D 9ACC move.w D1, [A5 - 0x6534]
00004002 926D 9AC8 sub.w D1, [A5 - 0x6538]
00004006 9240 sub.w D1, D0
00004008 926F 0090 sub.w D1, [A7 + 0x90]
0000400C 48C1 ext.l D1
0000400E 83FC 0005 divs.w D1, 0x5
00004012 D257 add.w D1, [A7]
00004014 3601 move.w D3, D1
00004016 486F 008C pea.l [A7 + 0x8C]
0000401A 3F06 move.w -[A7], D6
0000401C 3F03 move.w -[A7], D3
0000401E A8A8 syscall OffsetRect
00004020 594F subq.w A7, 4
00004022 42A7 clr.l -[A7]
00004024 486F 0094 pea.l [A7 + 0x94]
00004028 486D FE93 pea.l [A5 - 0x16D]
0000402C 1F3C 0001 move.b -[A7], 0x1
00004030 3F3C 0001 move.w -[A7], 0x1
00004034 4878 FFFF push.l 0xFFFF
00004038 4227 clr.b -[A7]
0000403A 42A7 clr.l -[A7]
0000403C A913 syscall NewWindow
0000403E 205F movea.l A0, [A7]+
00004040 2448 movea.l A2, A0
00004042 2008 move.l D0, A0
00004044 660C bne +0xE /* 00004052 */
00004046 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000404A A9C8 syscall SysBeep
0000404C 70FF moveq.l D0, 0xFFFFFFFF
0000404E 6000 02D6 bra +0x2D8 /* 00004326 */
label00004052:
00004052 2F0A move.l -[A7], A2
00004054 A873 syscall SetPort
00004056 4267 clr.w -[A7]
00004058 A887 syscall TextFont
0000405A 3F3C 000C move.w -[A7], 0xC
0000405E A88A syscall TextSize
00004060 4267 clr.w -[A7]
00004062 A888 syscall TextFace
00004064 486F 008C pea.l [A7 + 0x8C]
00004068 2F3C 000C 004E move.l -[A7], 0xC004E
0000406E 2F3C 002C 0175 move.l -[A7], 0x2C0175
00004074 A8A7 syscall SetRect
00004076 486F 000E pea.l [A7 + 0xE]
0000407A 4EB9 0000 283E jsr [0x0000283E]
00004080 3600 move.w D3, D0
00004082 41EB 0001 lea.l A0, [A3 + 0x1]
00004086 43EF 0012 lea.l A1, [A7 + 0x12]
0000408A 43F1 3000 lea.l A1, [A1 + D3.w]
0000408E 7000 moveq.l D0, 0x00
00004090 1013 move.b D0, [A3]
00004092 A02E syscall BlockMove/BlockMoveData
00004094 7000 moveq.l D0, 0x00
00004096 1013 move.b D0, [A3]
00004098 D043 add.w D0, D3
0000409A 5240 addq.w D0, 1
0000409C 41EF 0012 lea.l A0, [A7 + 0x12]
000040A0 4230 0000 clr.b [A0 + D0.w]
000040A4 486D FFD5 pea.l [A5 - 0x2B]
000040A8 486F 0016 pea.l [A7 + 0x16]
000040AC 4EB9 0000 193C jsr [0x0000193C]
000040B2 486F 001A pea.l [A7 + 0x1A]
000040B6 486F 001E pea.l [A7 + 0x1E]
000040BA 4EB9 0000 283E jsr [0x0000283E]
000040C0 584F addq.w A7, 4
000040C2 2F00 move.l -[A7], D0
000040C4 486F 00A0 pea.l [A7 + 0xA0]
000040C8 3F3C FFFE move.w -[A7], 0xFFFE
000040CC A9CE syscall TETextBox/TextBox
000040CE 486F 0098 pea.l [A7 + 0x98]
000040D2 2F3C 000C 0017 move.l -[A7], 0xC0017
000040D8 2F3C 002C 0037 move.l -[A7], 0x2C0037 /* ',\07' */
000040DE A8A7 syscall SetRect
000040E0 3F3C 0002 move.w -[A7], 0x2
000040E4 A9BB syscall GetIcon
000040E6 205F movea.l A0, [A7]+
000040E8 2C08 move.l D6, A0
000040EA 486F 0094 pea.l [A7 + 0x94]
000040EE 2F06 move.l -[A7], D6
000040F0 A94B syscall PlotIcon
000040F2 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
000040F8 504F addq.w A7, 8
000040FA 6666 bne +0x68 /* 00004162 */
000040FC 486F 008C pea.l [A7 + 0x8C]
00004100 2F3C 0039 004E move.l -[A7], 0x39004E /* '9\0N' */
00004106 2F3C 004D 009E move.l -[A7], 0x4D009E
0000410C A8A7 syscall SetRect
0000410E 594F subq.w A7, 4
00004110 2F0A move.l -[A7], A2
00004112 486F 0094 pea.l [A7 + 0x94]
00004116 486D FFE8 pea.l [A5 - 0x18]
0000411A 1F3C 0001 move.b -[A7], 0x1
0000411E 42A7 clr.l -[A7]
00004120 2F3C 0008 0000 move.l -[A7], 0x80000
00004126 42A7 clr.l -[A7]
00004128 A954 syscall NewControl
0000412A 205F movea.l A0, [A7]+
0000412C 2648 movea.l A3, A0
0000412E 486F 008C pea.l [A7 + 0x8C]
00004132 2F3C 0039 00F5 move.l -[A7], 0x3900F5
00004138 2F3C 004D 0130 move.l -[A7], 0x4D0130
0000413E A8A7 syscall SetRect
00004140 594F subq.w A7, 4
00004142 2F0A move.l -[A7], A2
00004144 486F 0094 pea.l [A7 + 0x94]
00004148 486D FFF3 pea.l [A5 - 0xD]
0000414C 1F3C 0001 move.b -[A7], 0x1
00004150 42A7 clr.l -[A7]
00004152 2F3C 0008 0000 move.l -[A7], 0x80000
00004158 42A7 clr.l -[A7]
0000415A A954 syscall NewControl
0000415C 205F movea.l A0, [A7]+
0000415E 2C48 movea.l A6, A0
00004160 6032 bra +0x34 /* 00004194 */
label00004162:
00004162 486F 008C pea.l [A7 + 0x8C]
00004166 2F3C 0039 00E0 move.l -[A7], 0x3900E0
0000416C 2F3C 004D 0130 move.l -[A7], 0x4D0130
00004172 A8A7 syscall SetRect
00004174 594F subq.w A7, 4
00004176 2F0A move.l -[A7], A2
00004178 486F 0094 pea.l [A7 + 0x94]
0000417C 486D FFE8 pea.l [A5 - 0x18]
00004180 1F3C 0001 move.b -[A7], 0x1
00004184 42A7 clr.l -[A7]
00004186 2F3C 0008 0000 move.l -[A7], 0x80000
0000418C 42A7 clr.l -[A7]
0000418E A954 syscall NewControl
00004190 205F movea.l A0, [A7]+
00004192 2648 movea.l A3, A0
label00004194:
00004194 486F 008C pea.l [A7 + 0x8C]
00004198 2F3C 0039 013A move.l -[A7], 0x39013A
0000419E 2F3C 004D 0176 move.l -[A7], 0x4D0176
000041A4 A8A7 syscall SetRect
000041A6 594F subq.w A7, 4
000041A8 2F0A move.l -[A7], A2
000041AA 486F 0094 pea.l [A7 + 0x94]
000041AE 486D FFFA pea.l [A5 - 0x6]
000041B2 1F3C 0001 move.b -[A7], 0x1
000041B6 42A7 clr.l -[A7]
000041B8 2F3C 0008 0000 move.l -[A7], 0x80000
000041BE 42A7 clr.l -[A7]
000041C0 A954 syscall NewControl
000041C2 205F movea.l A0, [A7]+
000041C4 2848 movea.l A4, A0
000041C6 2F0B move.l -[A7], A3
000041C8 4EB9 0000 326E jsr [0x0000326E]
000041CE 584F addq.w A7, 4
000041D0 6000 012A bra +0x12C /* 000042FC */
label000041D4:
000041D4 554F subq.w A7, 2
000041D6 3F3C 000A move.w -[A7], 0xA /* '\n' */
000041DA 486F 0080 pea.l [A7 + 0x80]
000041DE A970 syscall GetNextEvent
000041E0 101F move.b D0, [A7]+
000041E2 6700 0118 beq +0x11A /* 000042FC */
000041E6 0C6F 0001 007C cmpi.w [A7 + 0x7C], 0x1
000041EC 6674 bne +0x76 /* 00004262 */
000041EE 554F subq.w A7, 2
000041F0 2F2F 0088 move.l -[A7], [A7 + 0x88]
000041F4 486F 000C pea.l [A7 + 0xC]
000041F8 A92C syscall FindWindow
000041FA 301F move.w D0, [A7]+
000041FC 5740 subq.w D0, 3
000041FE 6600 00FC bne +0xFE /* 000042FC */
00004202 B5EF 0006 cmpa.l A2, [A7 + 0x6]
00004206 6600 00F4 bne +0xF6 /* 000042FC */
0000420A 486F 0086 pea.l [A7 + 0x86]
0000420E A871 syscall GlobalToLocal
00004210 554F subq.w A7, 2
00004212 2F2F 0088 move.l -[A7], [A7 + 0x88]
00004216 2F0A move.l -[A7], A2
00004218 486F 0014 pea.l [A7 + 0x14]
0000421C A96C syscall FindControl
0000421E 301F move.w D0, [A7]+
00004220 0C40 000A cmpi.w D0, 0xA /* '\n' */
00004224 6600 00D6 bne +0xD8 /* 000042FC */
00004228 554F subq.w A7, 2
0000422A 2F2F 000C move.l -[A7], [A7 + 0xC]
0000422E 2F2F 008C move.l -[A7], [A7 + 0x8C]
00004232 42A7 clr.l -[A7]
00004234 A968 syscall TrackControl
00004236 301F move.w D0, [A7]+
00004238 6700 00C2 beq +0xC4 /* 000042FC */
0000423C B9EF 000A cmpa.l A4, [A7 + 0xA]
00004240 6602 bne +0x4 /* 00004244 */
00004242 7801 moveq.l D4, 0x01
label00004244:
00004244 B7EF 000A cmpa.l A3, [A7 + 0xA]
00004248 6602 bne +0x4 /* 0000424C */
0000424A 7802 moveq.l D4, 0x02
label0000424C:
0000424C 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
00004252 6608 bne +0xA /* 0000425C */
00004254 BDEF 000A cmpa.l A6, [A7 + 0xA]
00004258 6602 bne +0x4 /* 0000425C */
0000425A 7803 moveq.l D4, 0x03
label0000425C:
0000425C 7A01 moveq.l D5, 0x01
0000425E 6000 009C bra +0x9E /* 000042FC */
label00004262:
00004262 0C6F 0003 007C cmpi.w [A7 + 0x7C], 0x3
00004268 6600 0092 bne +0x94 /* 000042FC */
0000426C 262F 007E move.l D3, [A7 + 0x7E]
00004270 0283 0000 00FF andi.l D3, 0xFF
00004276 0C03 0059 cmpi.b D3, 0x59 /* 'Y' */
0000427A 6712 beq +0x14 /* 0000428E */
0000427C 0C03 0079 cmpi.b D3, 0x79 /* 'y' */
00004280 670C beq +0xE /* 0000428E */
00004282 0C03 0053 cmpi.b D3, 0x53 /* 'S' */
00004286 6706 beq +0x8 /* 0000428E */
00004288 0C03 0073 cmpi.b D3, 0x73 /* 's' */
0000428C 6610 bne +0x12 /* 0000429E */
label0000428E:
0000428E 7801 moveq.l D4, 0x01
00004290 2F0C move.l -[A7], A4
00004292 4EB9 0000 324A jsr [0x0000324A]
00004298 7A01 moveq.l D5, 0x01
0000429A 584F addq.w A7, 4
0000429C 605E bra +0x60 /* 000042FC */
label0000429E:
0000429E 0C03 004E cmpi.b D3, 0x4E /* 'N' */
000042A2 671E beq +0x20 /* 000042C2 */
000042A4 0C03 006E cmpi.b D3, 0x6E /* 'n' */
000042A8 6718 beq +0x1A /* 000042C2 */
000042AA 0C03 0044 cmpi.b D3, 0x44 /* 'D' */
000042AE 6712 beq +0x14 /* 000042C2 */
000042B0 0C03 0064 cmpi.b D3, 0x64 /* 'd' */
000042B4 670C beq +0xE /* 000042C2 */
000042B6 0C03 000D cmpi.b D3, 0xD /* '\r' */
000042BA 6706 beq +0x8 /* 000042C2 */
000042BC 0C03 0003 cmpi.b D3, 0x3
000042C0 6610 bne +0x12 /* 000042D2 */
label000042C2:
000042C2 7802 moveq.l D4, 0x02
000042C4 2F0B move.l -[A7], A3
000042C6 4EB9 0000 324A jsr [0x0000324A]
000042CC 7A01 moveq.l D5, 0x01
000042CE 584F addq.w A7, 4
000042D0 602A bra +0x2C /* 000042FC */
label000042D2:
000042D2 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
000042D8 6622 bne +0x24 /* 000042FC */
000042DA 0C03 002E cmpi.b D3, 0x2E /* '.' */
000042DE 6608 bne +0xA /* 000042E8 */
000042E0 082F 0000 008A btst.b [A7 + 0x8A], 0x0
000042E6 6606 bne +0x8 /* 000042EE */
label000042E8:
000042E8 0C03 001B cmpi.b D3, 0x1B
000042EC 660E bne +0x10 /* 000042FC */
label000042EE:
000042EE 7803 moveq.l D4, 0x03
000042F0 2F0E move.l -[A7], A6
000042F2 4EB9 0000 324A jsr [0x0000324A]
000042F8 7A01 moveq.l D5, 0x01
000042FA 584F addq.w A7, 4
label000042FC:
000042FC 4A05 tst.b D5
000042FE 6700 FED4 beq -0x12A /* 000041D4 */
00004302 2F0C move.l -[A7], A4
00004304 A955 syscall DisposeControl
00004306 2F0B move.l -[A7], A3
00004308 A955 syscall DisposeControl
0000430A 0C6D 0001 E1F0 cmpi.w [A5 - 0x1E10], 0x1
00004310 6604 bne +0x6 /* 00004316 */
00004312 2F0E move.l -[A7], A6
00004314 A955 syscall DisposeControl
label00004316:
00004316 2F0A move.l -[A7], A2
00004318 A914 syscall DisposeWindow
0000431A 2F06 move.l -[A7], D6
0000431C A9A3 syscall ReleaseResource
0000431E 2F2F 0002 move.l -[A7], [A7 + 0x2]
00004322 A873 syscall SetPort
00004324 3004 move.w D0, D4
label00004326:
00004326 4FEF 0094 lea.l A7, [A7 + 0x94]
0000432A 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
0000432E 4E75 rts
00004330 F22F .extension 0x22F // unimplemented
00004332 4800 nbcd.b D0
00004334 0004 F200 ori.b D4, 0x0
00004338 001D 4E75 ori.b [A5]+, 0x75 /* 'u' */
0000433C F22F .extension 0x22F // unimplemented
0000433E 4800 nbcd.b D0
00004340 0004 F200 ori.b D4, 0x0
00004344 000E 4E75 ori.b A6, 0x75 /* 'u' */
00004348 F22F .extension 0x22F // unimplemented
0000434A 4800 nbcd.b D0
0000434C 0004 F200 ori.b D4, 0x0
00004350 000A 4E75 ori.b A2, 0x75 /* 'u' */
00004354 F227 .extension 0x227 // unimplemented
00004356 E010 roxr D0.b, 8
00004358 F22F .extension 0x22F // unimplemented
0000435A 4800 nbcd.b D0
0000435C 0010 F22F ori.b [A0], 0x2F /* '/' */
00004360 4820 nbcd.b -[A0]
00004362 001C F227 ori.b [A4]+, 0x27 /* '\'' */
00004366 6800 4EB9 bvc +0x4EBB /* 00009221 */
0000436A 0000 434C ori.b D0, 0x4C /* 'L' */
0000436E F200 .extension 0x200 // unimplemented
00004370 0200 F22F andi.b D0, 0x2F /* '/' */
00004374 4800 nbcd.b D0
00004376 0028 F200 003A ori.b [A0 + 0x3A], 0x0
0000437C 4FEF 000C lea.l A7, [A7 + 0xC]
00004380 F29B .extension 0x29B // unimplemented
00004382 0032 F22F 4800 ori.b [A2 + D4], 0x2F /* '/' */
00004388 0010 F200 ori.b [A0], 0x0
0000438C 003A F29B 0014 ori.b [PC + 0x14 /* 000043A2, value 0x60 '`' */], 0x9B
00004392 F23C .extension 0x23C // unimplemented
00004394 4A28 4000 tst.b [A0 + 0x4000]
00004398 0000 C90F ori.b D0, 0xF
0000439C DAA2 add.l D5, -[A2]
0000439E 2168 C235 6010 move.l [A0 + 0x6010], [A0 - 0x3DCB]
000043A4 F23C .extension 0x23C // unimplemented
000043A6 4A22 tst.b -[A2]
000043A8 4000 negx.b D0
000043AA 0000 C90F ori.b D0, 0xF
000043AE DAA2 add.l D5, -[A2]
000043B0 2168 C235 F200 move.l [A0 - 0xE00], [A0 - 0x3DCB]
000043B6 1000 move.b D0, D0
000043B8 F21F .extension 0x21F // unimplemented
000043BA D008 add.b D0, A0
000043BC 4E75 rts
000043BE F22F .extension 0x22F // unimplemented
000043C0 4800 nbcd.b D0
000043C2 0004 F200 ori.b D4, 0x0
000043C6 0010 4E75 ori.b [A0], 0x75 /* 'u' */
000043CA F22F .extension 0x22F // unimplemented
000043CC 4800 nbcd.b D0
000043CE 0004 F200 ori.b D4, 0x0
000043D2 003A F29B 0008 ori.b [PC + 0x8 /* 000043DC, value 0xDF */], 0x9B
000043D8 3B7C 0021 DF78 move.w [A5 - 0x2088], 0x21 /* '!' */
000043DE F22F .extension 0x22F // unimplemented
000043E0 4800 nbcd.b D0
000043E2 0004 F200 ori.b D4, 0x0
000043E6 0014 4E75 ori.b [A4], 0x75 /* 'u' */
000043EA F22F .extension 0x22F // unimplemented
000043EC 4800 nbcd.b D0
000043EE 0004 F200 ori.b D4, 0x0
000043F2 003A F29B 0008 ori.b [PC + 0x8 /* 000043FC, value 0xDF */], 0x9B
000043F8 3B7C 0021 DF78 move.w [A5 - 0x2088], 0x21 /* '!' */
000043FE F22F .extension 0x22F // unimplemented
00004400 4800 nbcd.b D0
00004402 0004 F200 ori.b D4, 0x0
00004406 0015 4E75 ori.b [A5], 0x75 /* 'u' */
0000440A F22F .extension 0x22F // unimplemented
0000440C 4800 nbcd.b D0
0000440E 0004 F200 ori.b D4, 0x0
00004412 0003 206F ori.b D3, 0x6F /* 'o' */
00004416 0010 F210 ori.b [A0], 0x10
0000441A 6800 F22F bvc -0xDCF /* 0000364B */
0000441E 4800 nbcd.b D0
00004420 0004 F210 ori.b D4, 0x10
00004424 4828 4E75 nbcd.b [A0 + 0x4E75]
00004428 F22F .extension 0x22F // unimplemented
0000442A 4800 nbcd.b D0
0000442C 0004 F200 ori.b D4, 0x0
00004430 0018 4E75 ori.b [A0]+, 0x75 /* 'u' */
00004434 F227 .extension 0x227 // unimplemented
00004436 E010 roxr D0.b, 8
00004438 4FEF FFC8 lea.l A7, [A7 - 0x38]
0000443C F22F .extension 0x22F // unimplemented
0000443E 4A00 tst.b D0
00004440 0054 F22F ori.w [A4], 0xF22F
00004444 4800 nbcd.b D0
00004446 0048 F22F ori.w A0, 0xF22F
0000444A 6800 002C bvc +0x2E /* 00004478 */
0000444E F22F .extension 0x22F // unimplemented
00004450 6A00 000C bpl +0xE /* 0000445E */
00004454 486F 0022 pea.l [A7 + 0x22]
00004458 486F 0030 pea.l [A7 + 0x30]
0000445C 4EB9 0000 452A jsr [0x0000452A]
// begin alternate branch 0000445E-00004462
label0000445E:
0000445E 0000 452A ori.b D0, 0x2A /* '*' */
// end alternate branch 0000445E-00004462
label0000445E: // (misaligned)
00004462 486F 0020 pea.l [A7 + 0x20]
00004466 486F 0018 pea.l [A7 + 0x18]
0000446A 4EB9 0000 452A jsr [0x0000452A]
00004470 F22F .extension 0x22F // unimplemented
00004472 4800 nbcd.b D0
00004474 0058 F200 ori.w [A0]+, 0xF200
label00004478:
00004478 003A 4FEF 0010 ori.b [PC + 0x10 /* 0000448A, value 0x3B ';' */], 0xEF
0000447E F28E .extension 0x28E // unimplemented
00004480 0016 F200 ori.b [A6], 0x0
00004484 103A F29A move.b D0, [PC - 0xD66 /* 00003720, value 0x3F '?' */]
00004488 0008 3B7C ori.b A0, 0x7C /* '|' */
0000448C 0021 DF78 ori.b -[A1], 0x78 /* 'x' */
00004490 F200 .extension 0x200 // unimplemented
00004492 5C0F addq.b A7, 6
00004494 6060 bra +0x62 /* 000044F6 */
00004496 F200 .extension 0x200 // unimplemented
00004498 103A F28E move.b D0, [PC - 0xD72 /* 00003728, value 0x20 ' ' */]
0000449C 000A F23C ori.b A2, 0x3C /* '<' */
000044A0 5000 addq.b D0, 8
000044A2 0001 6050 ori.b D1, 0x50 /* 'P' */
000044A6 F200 .extension 0x200 // unimplemented
000044A8 003A F29B 0026 ori.b [PC + 0x26 /* 000044D0, value 0x60 '`' */], 0x9B
000044AE 4857 pea.l [A7]
000044B0 F227 .extension 0x227 // unimplemented
000044B2 6A00 4EB9 bpl +0x4EBB /* 0000936D */
000044B6 0000 440E ori.b D0, 0xE
000044BA F200 .extension 0x200 // unimplemented
000044BC 003A 4FEF 0010 ori.b [PC + 0x10 /* 000044CE, value 0x5C '\\' */], 0xEF
000044C2 F281 .extension 0x281 // unimplemented
000044C4 000E 3B7C ori.b A6, 0x7C /* '|' */
000044C8 0021 DF78 ori.b -[A1], 0x78 /* 'x' */
000044CC F200 .extension 0x200 // unimplemented
000044CE 5C0F addq.b A7, 6
000044D0 6024 bra +0x26 /* 000044F6 */
000044D2 486F 0018 pea.l [A7 + 0x18]
000044D6 486F 0026 pea.l [A7 + 0x26]
000044DA 3F3C 8012 move.w -[A7], 0x8012
000044DE A9EC syscall Pack5/Elems68K
000044E0 486F 002C pea.l [A7 + 0x2C]
000044E4 486F 0026 pea.l [A7 + 0x26]
000044E8 4EB9 0000 453C jsr [0x0000453C]
000044EE F22F .extension 0x22F // unimplemented
000044F0 4800 nbcd.b D0
000044F2 0034 504F 4FEF ori.b <<invalid full ext with IS == 1 and I/IS == 7>>, 0x4F /* 'O' */
// begin alternate branch 000044F6-000044FE
label000044F6:
000044F6 4FEF 0038 lea.l A7, [A7 + 0x38]
000044FA F21F .extension 0x21F // unimplemented
000044FC D008 add.b D0, A0
// end alternate branch 000044F6-000044FE
label000044F6: // (misaligned)
000044F8 0038 F21F D008 ori.b [0xFFFFD008], 0x1F
000044FE 4E75 rts
00004500 F22F .extension 0x22F // unimplemented
00004502 4800 nbcd.b D0
00004504 0004 F200 ori.b D4, 0x0
00004508 003A F29B 000E ori.b [PC + 0xE /* 00004518, value 0x4E 'N' */], 0x9B
0000450E 3B7C 0021 DF78 move.w [A5 - 0x2088], 0x21 /* '!' */
00004514 F200 .extension 0x200 // unimplemented
00004516 5C0F addq.b A7, 6
00004518 4E75 rts
0000451A F22F .extension 0x22F // unimplemented
0000451C 4800 nbcd.b D0
0000451E 0004 F200 ori.b D4, 0x0
00004522 0004 4E75 ori.b D4, 0x75 /* 'u' */
00004526 206F 0004 movea.l A0, [A7 + 0x4]
0000452A 226F 0008 movea.l A1, [A7 + 0x8]
0000452E 32D8 move.w [A1]+, [A0]+
00004530 5448 addq.w A0, 2
00004532 22D8 move.l [A1]+, [A0]+
00004534 2290 move.l [A1], [A0]
00004536 4E75 rts
00004538 206F 0004 movea.l A0, [A7 + 0x4]
0000453C 226F 0008 movea.l A1, [A7 + 0x8]
00004540 32D8 move.w [A1]+, [A0]+
00004542 4259 clr.w [A1]+
00004544 22D8 move.l [A1]+, [A0]+
00004546 2290 move.l [A1], [A0]
00004548 4E75 rts
0000454A 514F subq.w A7, 8
0000454C F22F .extension 0x22F // unimplemented
0000454E 5400 addq.b D0, 2
00004550 0010 F227 ori.b [A0], 0x27 /* '\'' */
00004554 6800 4EB9 bvc +0x4EBB /* 0000940F */
00004558 0000 4334 ori.b D0, 0x34 /* '4' */
0000455C F22F .extension 0x22F // unimplemented
0000455E 7400 moveq.l D2, 0x00
00004560 000C 206F ori.b A4, 0x6F /* 'o' */
00004564 0018 20AF ori.b [A0]+, 0xAF
00004568 000C 216F ori.b A4, 0x6F /* 'o' */
0000456C 0010 0004 ori.b [A0], 0x4
00004570 4FEF 0014 lea.l A7, [A7 + 0x14]
00004574 4E75 rts
00004576 514F subq.w A7, 8
00004578 F22F .extension 0x22F // unimplemented
0000457A 5400 addq.b D0, 2
0000457C 0010 F227 ori.b [A0], 0x27 /* '\'' */
00004580 6800 4EB9 bvc +0x4EBB /* 0000943B */
00004584 0000 4340 ori.b D0, 0x40 /* '@' */
00004588 F22F .extension 0x22F // unimplemented
0000458A 7400 moveq.l D2, 0x00
0000458C 000C 206F ori.b A4, 0x6F /* 'o' */
00004590 0018 20AF ori.b [A0]+, 0xAF
00004594 000C 216F ori.b A4, 0x6F /* 'o' */
00004598 0010 0004 ori.b [A0], 0x4
0000459C 4FEF 0014 lea.l A7, [A7 + 0x14]
000045A0 4E75 rts
000045A2 514F subq.w A7, 8
000045A4 F22F .extension 0x22F // unimplemented
000045A6 5400 addq.b D0, 2
000045A8 0018 F227 ori.b [A0]+, 0x27 /* '\'' */
000045AC 6800 F22F bvc -0xDCF /* 000037DD */
000045B0 5400 addq.b D0, 2
000045B2 001C F227 ori.b [A4]+, 0x27 /* '\'' */
000045B6 6800 4EB9 bvc +0x4EBB /* 00009471 */
000045BA 0000 4358 ori.b D0, 0x58 /* 'X' */
000045BE F22F .extension 0x22F // unimplemented
000045C0 7400 moveq.l D2, 0x00
000045C2 0018 206F ori.b [A0]+, 0x6F /* 'o' */
000045C6 0024 20AF ori.b -[A4], 0xAF
000045CA 0018 216F ori.b [A0]+, 0x6F /* 'o' */
000045CE 001C 0004 ori.b [A4]+, 0x4
000045D2 4FEF 0020 lea.l A7, [A7 + 0x20]
000045D6 4E75 rts
000045D8 514F subq.w A7, 8
000045DA F22F .extension 0x22F // unimplemented
000045DC 5400 addq.b D0, 2
000045DE 0010 F227 ori.b [A0], 0x27 /* '\'' */
000045E2 6800 4EB9 bvc +0x4EBB /* 0000949D */
000045E6 0000 43C2 ori.b D0, 0xC2
000045EA F22F .extension 0x22F // unimplemented
000045EC 7400 moveq.l D2, 0x00
000045EE 000C 206F ori.b A4, 0x6F /* 'o' */
000045F2 0018 20AF ori.b [A0]+, 0xAF
000045F6 000C 216F ori.b A4, 0x6F /* 'o' */
000045FA 0010 0004 ori.b [A0], 0x4
000045FE 4FEF 0014 lea.l A7, [A7 + 0x14]
00004602 4E75 rts
00004604 514F subq.w A7, 8
00004606 F22F .extension 0x22F // unimplemented
00004608 5400 addq.b D0, 2
0000460A 0010 F227 ori.b [A0], 0x27 /* '\'' */
0000460E 6800 4EB9 bvc +0x4EBB /* 000094C9 */
00004612 0000 43CE ori.b D0, 0xCE
00004616 F22F .extension 0x22F // unimplemented
00004618 7400 moveq.l D2, 0x00
0000461A 000C 206F ori.b A4, 0x6F /* 'o' */
0000461E 0018 20AF ori.b [A0]+, 0xAF
00004622 000C 216F ori.b A4, 0x6F /* 'o' */
00004626 0010 0004 ori.b [A0], 0x4
0000462A 4FEF 0014 lea.l A7, [A7 + 0x14]
0000462E 4E75 rts
00004630 514F subq.w A7, 8
00004632 F22F .extension 0x22F // unimplemented
00004634 5400 addq.b D0, 2
00004636 0010 F227 ori.b [A0], 0x27 /* '\'' */
0000463A 6800 4EB9 bvc +0x4EBB /* 000094F5 */
0000463E 0000 43EE ori.b D0, 0xEE
00004642 F22F .extension 0x22F // unimplemented
00004644 7400 moveq.l D2, 0x00
00004646 000C 206F ori.b A4, 0x6F /* 'o' */
0000464A 0018 20AF ori.b [A0]+, 0xAF
0000464E 000C 216F ori.b A4, 0x6F /* 'o' */
00004652 0010 0004 ori.b [A0], 0x4
00004656 4FEF 0014 lea.l A7, [A7 + 0x14]
0000465A 4E75 rts
0000465C 514F subq.w A7, 8
0000465E F22F .extension 0x22F // unimplemented
00004660 5400 addq.b D0, 2
00004662 0010 F227 ori.b [A0], 0x27 /* '\'' */
00004666 6800 4EB9 bvc +0x4EBB /* 00009521 */
0000466A 0000 442C ori.b D0, 0x2C /* ',' */
0000466E F22F .extension 0x22F // unimplemented
00004670 7400 moveq.l D2, 0x00
00004672 000C 206F ori.b A4, 0x6F /* 'o' */
00004676 0018 20AF ori.b [A0]+, 0xAF
0000467A 000C 216F ori.b A4, 0x6F /* 'o' */
0000467E 0010 0004 ori.b [A0], 0x4
00004682 4FEF 0014 lea.l A7, [A7 + 0x14]
00004686 4E75 rts
00004688 514F subq.w A7, 8
0000468A F22F .extension 0x22F // unimplemented
0000468C 5400 addq.b D0, 2
0000468E 0018 F227 ori.b [A0]+, 0x27 /* '\'' */
00004692 6800 F22F bvc -0xDCF /* 000038C3 */
00004696 5400 addq.b D0, 2
00004698 001C F227 ori.b [A4]+, 0x27 /* '\'' */
0000469C 6800 4EB9 bvc +0x4EBB /* 00009557 */
000046A0 0000 4438 ori.b D0, 0x38 /* '8' */
000046A4 F22F .extension 0x22F // unimplemented
000046A6 7400 moveq.l D2, 0x00
000046A8 0018 206F ori.b [A0]+, 0x6F /* 'o' */
000046AC 0024 20AF ori.b -[A4], 0xAF
000046B0 0018 216F ori.b [A0]+, 0x6F /* 'o' */
000046B4 001C 0004 ori.b [A4]+, 0x4
000046B8 4FEF 0020 lea.l A7, [A7 + 0x20]
000046BC 4E75 rts
000046BE 514F subq.w A7, 8
000046C0 F22F .extension 0x22F // unimplemented
000046C2 5400 addq.b D0, 2
000046C4 0010 F227 ori.b [A0], 0x27 /* '\'' */
000046C8 6800 4EB9 bvc +0x4EBB /* 00009583 */
000046CC 0000 4504 ori.b D0, 0x4
000046D0 F22F .extension 0x22F // unimplemented
000046D2 7400 moveq.l D2, 0x00
000046D4 000C 206F ori.b A4, 0x6F /* 'o' */
000046D8 0018 20AF ori.b [A0]+, 0xAF
000046DC 000C 216F ori.b A4, 0x6F /* 'o' */
000046E0 0010 0004 ori.b [A0], 0x4
000046E4 4FEF 0014 lea.l A7, [A7 + 0x14]
000046E8 4E75 rts
000046EA 225F movea.l A1, [A7]+
000046EC 121F move.b D1, [A7]+
000046EE 301F move.w D0, [A7]+
000046F0 4A01 tst.b D1
000046F2 6704 beq +0x6 /* 000046F8 */
000046F4 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000046F6 6002 bra +0x4 /* 000046FA */
label000046F8:
000046F8 A346 syscall GetOSTrapAddress, flags=3
label000046FA:
000046FA 2E88 move.l [A7], A0
000046FC 4ED1 jmp [A1]
000046FE 4E56 FFCE link A6, -0x0032
00004702 204F movea.l A0, A7
00004704 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
0000470A 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00004710 4228 001A clr.b [A0 + 0x1A]
00004714 4228 001B clr.b [A0 + 0x1B]
00004718 42A8 001C clr.l [A0 + 0x1C]
0000471C 701A moveq.l D0, 0x1A
0000471E A060 syscall FSDispatch/HFSDispatch
00004720 0C40 FFCE cmpi.w D0, 0xFFCE
00004724 6602 bne +0x4 /* 00004728 */
00004726 A000 syscall Open/PBHOpen/HOpen
label00004728:
00004728 226E 0008 movea.l A1, [A6 + 0x8]
0000472C 32A8 0018 move.w [A1], [A0 + 0x18]
00004730 3D40 0012 move.w [A6 + 0x12], D0
00004734 4E5E unlink A6
00004736 205F movea.l A0, [A7]+
00004738 4FEF 000A lea.l A7, [A7 + 0xA]
0000473C 4ED0 jmp [A0]
0000473E 4E56 FFCE link A6, -0x0032
00004742 204F movea.l A0, A7
00004744 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
0000474A A001 syscall Close
0000474C 3D40 000A move.w [A6 + 0xA], D0
00004750 4E5E unlink A6
00004752 205F movea.l A0, [A7]+
00004754 548F addq.l A7, 2
00004756 4ED0 jmp [A0]
00004758 51C1 sf D1
0000475A 6002 bra +0x4 /* 0000475E */
0000475C 50C1 st D1
label0000475E:
0000475E 4E56 FFCE link A6, -0x0032
00004762 204F movea.l A0, A7
00004764 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
0000476A 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00004770 226E 000C movea.l A1, [A6 + 0xC]
00004774 2151 0024 move.l [A0 + 0x24], [A1]
00004778 4268 002C clr.w [A0 + 0x2C]
0000477C 42A8 002E clr.l [A0 + 0x2E]
00004780 4A01 tst.b D1
00004782 6604 bne +0x6 /* 00004788 */
00004784 A002 syscall Read
00004786 6002 bra +0x4 /* 0000478A */
label00004788:
00004788 A003 syscall Write
label0000478A:
0000478A 3D40 0012 move.w [A6 + 0x12], D0
0000478E 226E 000C movea.l A1, [A6 + 0xC]
00004792 22A8 0028 move.l [A1], [A0 + 0x28]
00004796 4E5E unlink A6
00004798 225F movea.l A1, [A7]+
0000479A 4FEF 000A lea.l A7, [A7 + 0xA]
0000479E 4ED1 jmp [A1]
000047A0 4E56 FFC0 link A6, -0x0040
000047A4 204F movea.l A0, A7
000047A6 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000047AC 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000047B2 A015 syscall SetVol/PBHSetVol/HSetVol
000047B4 3D40 000E move.w [A6 + 0xE], D0
000047B8 4E5E unlink A6
000047BA 225F movea.l A1, [A7]+
000047BC 5C8F addq.l A7, 6
000047BE 4ED1 jmp [A1]
000047C0 4E56 FFB0 link A6, -0x0050
000047C4 204F movea.l A0, A7
000047C6 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
000047CC 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
000047D2 4228 001A clr.b [A0 + 0x1A]
000047D6 A008 syscall Create/PBHCreate/HCreate
000047D8 6616 bne +0x18 /* 000047F0 */
000047DA 4268 001C clr.w [A0 + 0x1C]
000047DE A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000047E0 660E bne +0x10 /* 000047F0 */
000047E2 43E8 0020 lea.l A1, [A0 + 0x20]
000047E6 22EE 0008 move.l [A1]+, [A6 + 0x8]
000047EA 22AE 000C move.l [A1], [A6 + 0xC]
000047EE A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000047F0:
000047F0 3D40 0016 move.w [A6 + 0x16], D0
000047F4 4E5E unlink A6
000047F6 225F movea.l A1, [A7]+
000047F8 4FEF 000E lea.l A7, [A7 + 0xE]
000047FC 4ED1 jmp [A1]
000047FE 4E56 FFCE link A6, -0x0032
00004802 204F movea.l A0, A7
00004804 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
0000480A 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00004810 4228 001A clr.b [A0 + 0x1A]
00004814 A009 syscall Delete/PBHDelete/HDelete
00004816 3D40 000E move.w [A6 + 0xE], D0
0000481A 4E5E unlink A6
0000481C 225F movea.l A1, [A7]+
0000481E 5C8F addq.l A7, 6
00004820 4ED1 jmp [A1]
00004822 4E56 FFCE link A6, -0x0032
00004826 204F movea.l A0, A7
00004828 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
0000482E A011 syscall GetEOF
00004830 3D40 000E move.w [A6 + 0xE], D0
00004834 226E 0008 movea.l A1, [A6 + 0x8]
00004838 22A8 001C move.l [A1], [A0 + 0x1C]
0000483C 4E5E unlink A6
0000483E 225F movea.l A1, [A7]+
00004840 5C8F addq.l A7, 6
00004842 4ED1 jmp [A1]
00004844 4E56 FFCE link A6, -0x0032
00004848 204F movea.l A0, A7
0000484A 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00004850 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
00004856 A012 syscall SetEOF
00004858 3D40 000E move.w [A6 + 0xE], D0
0000485C 4E5E unlink A6
0000485E 225F movea.l A1, [A7]+
00004860 5C8F addq.l A7, 6
00004862 4ED1 jmp [A1]
00004864 4E56 FFCE link A6, -0x0032
00004868 204F movea.l A0, A7
0000486A 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00004870 A018 syscall GetFPos
00004872 3D40 000E move.w [A6 + 0xE], D0
00004876 226E 0008 movea.l A1, [A6 + 0x8]
0000487A 22A8 002E move.l [A1], [A0 + 0x2E]
0000487E 4E5E unlink A6
00004880 225F movea.l A1, [A7]+
00004882 5C8F addq.l A7, 6
00004884 4ED1 jmp [A1]
00004886 4E56 FFCE link A6, -0x0032
0000488A 204F movea.l A0, A7
0000488C 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00004892 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00004898 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
0000489E A044 syscall SetFPos
000048A0 3D40 0010 move.w [A6 + 0x10], D0
000048A4 4E5E unlink A6
000048A6 225F movea.l A1, [A7]+
000048A8 508F addq.l A7, 8
000048AA 4ED1 jmp [A1]
000048AC 226F 0004 movea.l A1, [A7 + 0x4]
000048B0 4251 clr.w [A1]
000048B2 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000048B6 A025 syscall GetHandleSize
000048B8 4A80 tst.l D0
000048BA 6F0E ble +0x10 /* 000048CA */
000048BC 2050 movea.l A0, [A0]
000048BE 226F 0008 movea.l A1, [A7 + 0x8]
000048C2 3298 move.w [A1], [A0]+
000048C4 226F 0004 movea.l A1, [A7 + 0x4]
000048C8 3290 move.w [A1], [A0]
label000048CA:
000048CA 205F movea.l A0, [A7]+
000048CC 504F addq.w A7, 8
000048CE 4ED0 jmp [A0]
000048D0 48E7 0030 movem.l -[A7], A2,A3
000048D4 226F 000C movea.l A1, [A7 + 0xC]
000048D8 42A9 0002 clr.l [A1 + 0x2]
000048DC 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000048E0 A025 syscall GetHandleSize
000048E2 4A80 tst.l D0
000048E4 6F26 ble +0x28 /* 0000490C */
000048E6 2450 movea.l A2, [A0]
000048E8 544A addq.w A2, 2
000048EA 322F 0010 move.w D1, [A7 + 0x10]
000048EE B25A cmp.w D1, [A2]+
000048F0 6E1A bgt +0x1C /* 0000490C */
000048F2 5341 subq.w D1, 1
label000048F4:
000048F4 6D16 blt +0x18 /* 0000490C */
000048F6 204A movea.l A0, A2
000048F8 7002 moveq.l D0, 0x02
000048FA D028 0008 add.b D0, [A0 + 0x8]
000048FE 0240 FFFE andi.w D0, 0xFFFE
00004902 5040 addq.w D0, 8
00004904 D4C0 add.w A2, D0
00004906 A02E syscall BlockMove/BlockMoveData
00004908 5341 subq.w D1, 1
0000490A 60E8 bra -0x16 /* 000048F4 */
label0000490C:
0000490C 4CDF 0C00 movem.l A2,A3, [A7]+
00004910 205F movea.l A0, [A7]+
00004912 5C4F addq.w A7, 6
00004914 4ED0 jmp [A0]
00004916 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
0000491A A025 syscall GetHandleSize
0000491C 4A80 tst.l D0
0000491E 6F28 ble +0x2A /* 00004948 */
00004920 2050 movea.l A0, [A0]
00004922 5448 addq.w A0, 2
00004924 322F 0004 move.w D1, [A7 + 0x4]
00004928 B258 cmp.w D1, [A0]+
0000492A 6E1C bgt +0x1E /* 00004948 */
0000492C 5341 subq.w D1, 1
label0000492E:
0000492E 6D18 blt +0x1A /* 00004948 */
00004930 6712 beq +0x14 /* 00004944 */
00004932 7002 moveq.l D0, 0x02
00004934 D028 0008 add.b D0, [A0 + 0x8]
00004938 0240 FFFE andi.w D0, 0xFFFE
0000493C 5040 addq.w D0, 8
0000493E D0C0 add.w A0, D0
00004940 5341 subq.w D1, 1
00004942 60EA bra -0x14 /* 0000492E */
label00004944:
00004944 42A8 0002 clr.l [A0 + 0x2]
label00004948:
00004948 205F movea.l A0, [A7]+
0000494A 544F addq.w A7, 2
0000494C 4ED0 jmp [A0]
0000494E 4E56 FF7C link A6, -0x0084
00004952 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00004956 266E 0008 movea.l A3, [A6 + 0x8]
0000495A 286E 000C movea.l A4, [A6 + 0xC]
0000495E 3A2E 0016 move.w D5, [A6 + 0x16]
00004962 2C2E 0012 move.l D6, [A6 + 0x12]
00004966 4204 clr.b D4
00004968 558F subq.l A7, 2
0000496A 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
00004970 486E FF7C pea.l [A6 - 0x84]
00004974 4EBA 02D2 jsr [PC + 0x2D2 /* 00004C48 */]
00004978 3E1F move.w D7, [A7]+
0000497A 660C bne +0xE /* 00004988 */
0000497C 202E FF7C move.l D0, [A6 - 0x84]
00004980 0800 0000 btst.b D0, 0x0
00004984 6702 beq +0x4 /* 00004988 */
00004986 7801 moveq.l D4, 0x01
label00004988:
00004988 4A04 tst.b D4
0000498A 671A beq +0x1C /* 000049A6 */
0000498C 558F subq.l A7, 2
0000498E 3F05 move.w -[A7], D5
00004990 2F06 move.l -[A7], D6
00004992 1F2E 0010 move.b -[A7], [A6 + 0x10]
00004996 2F0C move.l -[A7], A4
00004998 2F0B move.l -[A7], A3
0000499A 7000 moveq.l D0, 0x00
0000499C A823 syscall AliasDispatch
0000499E 3D5F 0018 move.w [A6 + 0x18], [A7]+
000049A2 6000 00EA bra +0xEC /* 00004A8E */
label000049A6:
000049A6 0C86 6D61 6373 cmpi.l D6, 0x6D616373 /* 'macs' */
000049AC 6742 beq +0x44 /* 000049F0 */
000049AE 0C86 7465 6D70 cmpi.l D6, 0x74656D70 /* 'temp' */
000049B4 673A beq +0x3C /* 000049F0 */
000049B6 0C86 7072 6566 cmpi.l D6, 0x70726566 /* 'pref' */
000049BC 6732 beq +0x34 /* 000049F0 */
000049BE 0C86 6578 746E cmpi.l D6, 0x6578746E /* 'extn' */
000049C4 672A beq +0x2C /* 000049F0 */
000049C6 0C86 6374 726C cmpi.l D6, 0x6374726C /* 'ctrl' */
000049CC 6722 beq +0x24 /* 000049F0 */
000049CE 0C86 616D 6E75 cmpi.l D6, 0x616D6E75 /* 'amnu' */
000049D4 671A beq +0x1C /* 000049F0 */
000049D6 0C86 7374 7274 cmpi.l D6, 0x73747274 /* 'strt' */
000049DC 6712 beq +0x14 /* 000049F0 */
000049DE 0C86 7072 6E74 cmpi.l D6, 0x70726E74 /* 'prnt' */
000049E4 670A beq +0xC /* 000049F0 */
000049E6 3D7C FFCE 0018 move.w [A6 + 0x18], 0xFFCE
000049EC 6000 00A0 bra +0xA2 /* 00004A8E */
label000049F0:
000049F0 7000 moveq.l D0, 0x00
000049F2 2D40 FF92 move.l [A6 - 0x6E], D0
000049F6 0C45 8000 cmpi.w D5, 0x8000
000049FA 6626 bne +0x28 /* 00004A22 */
000049FC 3D78 0A58 FF98 move.w [A6 - 0x68], [0x00000A58 /* SysMap */]
00004A02 426E FF9C clr.w [A6 - 0x64]
00004A06 7002 moveq.l D0, 0x02
00004A08 2D40 FFBA move.l [A6 - 0x46], D0
00004A0C 43EE FF80 lea.l A1, [A6 - 0x80]
00004A10 2049 movea.l A0, A1
00004A12 7008 moveq.l D0, 0x08
00004A14 A260 syscall FSDispatch/HFSDispatch, flags=2
00004A16 3E00 move.w D7, D0
00004A18 6670 bne +0x72 /* 00004A8A */
00004A1A 3D6E FFB4 FF96 move.w [A6 - 0x6A], [A6 - 0x4C]
00004A20 6004 bra +0x6 /* 00004A26 */
label00004A22:
00004A22 3D45 FF96 move.w [A6 - 0x6A], D5
label00004A26:
00004A26 7006 moveq.l D0, 0x06
00004A28 2D40 FFA4 move.l [A6 - 0x5C], D0
00004A2C 41EE FFFA lea.l A0, [A6 - 0x6]
00004A30 2D48 FFA0 move.l [A6 - 0x60], A0
00004A34 43EE FF80 lea.l A1, [A6 - 0x80]
00004A38 2049 movea.l A0, A1
00004A3A 7030 moveq.l D0, 0x30
00004A3C A260 syscall FSDispatch/HFSDispatch, flags=2
00004A3E 3E00 move.w D7, D0
00004A40 0C47 FFCE cmpi.w D7, 0xFFCE
00004A44 6710 beq +0x12 /* 00004A56 */
00004A46 4A47 tst.w D7
00004A48 663A bne +0x3C /* 00004A84 */
00004A4A 203C 0002 0000 move.l D0, 0x20000
00004A50 C0AE FFFC and.l D0, [A6 - 0x4]
00004A54 662E bne +0x30 /* 00004A84 */
label00004A56:
00004A56 426E FF9C clr.w [A6 - 0x64]
00004A5A 7000 moveq.l D0, 0x00
00004A5C 2D40 FFDA move.l [A6 - 0x26], D0
00004A60 2D40 FFB0 move.l [A6 - 0x50], D0
00004A64 43EE FF80 lea.l A1, [A6 - 0x80]
00004A68 2049 movea.l A0, A1
00004A6A A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00004A6C 3E00 move.w D7, D0
00004A6E 661A bne +0x1C /* 00004A8A */
00004A70 4AAE FFDA tst.l [A6 - 0x26]
00004A74 670A beq +0xC /* 00004A80 */
00004A76 38AE FF96 move.w [A4], [A6 - 0x6A]
00004A7A 26AE FFDA move.l [A3], [A6 - 0x26]
00004A7E 600A bra +0xC /* 00004A8A */
label00004A80:
00004A80 7ED5 moveq.l D7, 0xFFFFFFD5
00004A82 6006 bra +0x8 /* 00004A8A */
label00004A84:
00004A84 4A47 tst.w D7
00004A86 6602 bne +0x4 /* 00004A8A */
00004A88 7ED5 moveq.l D7, 0xFFFFFFD5
label00004A8A:
00004A8A 3D47 0018 move.w [A6 + 0x18], D7
label00004A8E:
00004A8E 4CEE 18F0 FF64 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x9C]
00004A94 4E5E unlink A6
00004A96 205F movea.l A0, [A7]+
00004A98 4FEF 0010 lea.l A7, [A7 + 0x10]
00004A9C 4ED0 jmp [A0]
00004A9E 8A46 or.w D5, D6
00004AA0 494E chk.w D4, A6
00004AA2 4446 neg.w D6
00004AA4 4F4C chk.w D7, A4
00004AA6 4445 neg.w D5
00004AA8 5200 addq.b D0, 1
00004AAA 0000 6118 ori.b D0, 0x18
00004AAE A9DB syscall TEPaste
label00004AB0:
00004AB0 2E9F move.l [A7], [A7]+
00004AB2 4E75 rts
00004AB4 6110 bsr +0x12 /* 00004AC6 */
00004AB6 A9D6 syscall TECut
00004AB8 60F6 bra -0x8 /* 00004AB0 */
00004ABA 610A bsr +0xC /* 00004AC6 */
00004ABC A9D5 syscall TECopy
00004ABE 60F0 bra -0xE /* 00004AB0 */
00004AC0 6104 bsr +0x6 /* 00004AC6 */
00004AC2 A9D7 syscall TEDelete
00004AC4 60EA bra -0x14 /* 00004AB0 */
fn00004AC6:
00004AC6 206F 0008 movea.l A0, [A7 + 0x8]
00004ACA 4A68 00A4 tst.w [A0 + 0xA4]
00004ACE 6B08 bmi +0xA /* 00004AD8 */
00004AD0 225F movea.l A1, [A7]+
00004AD2 2F28 00A0 move.l -[A7], [A0 + 0xA0]
00004AD6 4ED1 jmp [A1]
label00004AD8:
00004AD8 4CDF 0301 movem.l D0,A0,A1, [A7]+
00004ADC 4ED0 jmp [A0]
00004ADE 4A78 028E tst.w [0x0000028E /* ROM85 */]
00004AE2 6B22 bmi +0x24 /* 00004B06 */
00004AE4 303C 0090 move.w D0, 0x90
00004AE8 A346 syscall GetOSTrapAddress, flags=3
00004AEA 2248 movea.l A1, A0
00004AEC 303C 009F move.w D0, 0x9F
00004AF0 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00004AF2 B3C8 cmpa.l A1, A0
00004AF4 6710 beq +0x12 /* 00004B06 */
00004AF6 225F movea.l A1, [A7]+
00004AF8 205F movea.l A0, [A7]+
00004AFA 301F move.w D0, [A7]+
00004AFC 2F09 move.l -[A7], A1
00004AFE A090 syscall SysEnvirons
00004B00 3F40 0004 move.w [A7 + 0x4], D0
00004B04 4E75 rts
label00004B06:
00004B06 206F 0004 movea.l A0, [A7 + 0x4]
00004B0A 303C 0001 move.w D0, 0x1
00004B0E 2248 movea.l A1, A0
00004B10 6006 bra +0x8 /* 00004B18 */
00004B12 0313 btst [A3], D1
00004B14 0B02 btst D2, D5
00004B16 0100 btst D0, D0
label00004B18:
00004B18 303C 0010 move.w D0, 0x10
00004B1C E240 asr D0.w, 1
00004B1E 5340 subq.w D0, 1
label00004B20:
00004B20 4258 clr.w [A0]+
00004B22 51C8 FFFC dbf D0, -0x6 /* 00004B20 */
00004B26 32BC 0002 move.w [A1], 0x2
00004B2A 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00004B2E 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00004B34 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
00004B3A 6742 beq +0x44 /* 00004B7E */
00004B3C 4A28 0008 tst.b [A0 + 0x8]
00004B40 6E20 bgt +0x22 /* 00004B62 */
00004B42 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
00004B48 4A78 028E tst.w [0x0000028E /* ROM85 */]
00004B4C 6B30 bmi +0x32 /* 00004B7E */
00004B4E 337C 0001 0002 move.w [A1 + 0x2], 0x1
00004B54 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
00004B58 6A24 bpl +0x26 /* 00004B7E */
00004B5A 337C 0002 0002 move.w [A1 + 0x2], 0x2
00004B60 601C bra +0x1E /* 00004B7E */
label00004B62:
00004B62 4269 0002 clr.w [A1 + 0x2]
00004B66 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
00004B6C 6E10 bgt +0x12 /* 00004B7E */
00004B6E 6708 beq +0xA /* 00004B78 */
00004B70 337C 0004 0002 move.w [A1 + 0x2], 0x4
00004B76 6006 bra +0x8 /* 00004B7E */
label00004B78:
00004B78 337C 0003 0002 move.w [A1 + 0x2], 0x3
label00004B7E:
00004B7E 4269 0004 clr.w [A1 + 0x4]
00004B82 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00004B88 6E0A bgt +0xC /* 00004B94 */
00004B8A 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00004B8E 5240 addq.w D0, 1
00004B90 1340 0007 move.b [A1 + 0x7], D0
label00004B94:
00004B94 4A78 028E tst.w [0x0000028E /* ROM85 */]
00004B98 6B0E bmi +0x10 /* 00004BA8 */
00004B9A 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00004BA0 6706 beq +0x8 /* 00004BA8 */
00004BA2 137C 0001 0008 move.b [A1 + 0x8], 0x1
label00004BA8:
00004BA8 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00004BAE 6206 bhi +0x8 /* 00004BB6 */
00004BB0 137C 0001 0009 move.b [A1 + 0x9], 0x1
label00004BB6:
00004BB6 1038 021E move.b D0, [0x0000021E /* KbdType */]
00004BBA 41FA FF5B lea.l A0, [PC - 0xA5 /* 00004B17, value 0x303C00 '0<\0' */]
00004BBE 323C 0004 move.w D1, 0x4
label00004BC2:
00004BC2 B020 cmp.b D0, -[A0]
00004BC4 57C9 FFFC dbeq D1, -0x6 /* 00004BC2 */
00004BC8 5241 addq.w D1, 1
00004BCA 3341 000A move.w [A1 + 0xA], D1
00004BCE 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00004BD2 6B18 bmi +0x1A /* 00004BEC */
00004BD4 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00004BD8 0201 000F andi.b D1, 0xF
00004BDC 0C01 0001 cmpi.b D1, 0x1
00004BE0 660A bne +0xC /* 00004BEC */
00004BE2 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00004BE6 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00004BEC:
00004BEC 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00004BF2 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
00004BF6 6D44 blt +0x46 /* 00004C3C */
00004BF8 4269 000E clr.w [A1 + 0xE]
00004BFC 323C 003C move.w D1, 0x3C /* '<' */
label00004C00:
00004C00 4267 clr.w -[A7]
00004C02 51C9 FFFC dbf D1, -0x6 /* 00004C00 */
00004C06 204F movea.l A0, A7
00004C08 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
00004C0E 7008 moveq.l D0, 0x08
00004C10 A260 syscall FSDispatch/HFSDispatch, flags=2
00004C12 6624 bne +0x26 /* 00004C38 */
00004C14 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
00004C1A A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00004C1C 661A bne +0x1C /* 00004C38 */
00004C1E 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00004C24 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
00004C2C 7001 moveq.l D0, 0x01
00004C2E A260 syscall FSDispatch/HFSDispatch, flags=2
00004C30 6606 bne +0x8 /* 00004C38 */
00004C32 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label00004C38:
00004C38 4FEF 007A lea.l A7, [A7 + 0x7A]
label00004C3C:
00004C3C 2049 movea.l A0, A1
00004C3E 225F movea.l A1, [A7]+
00004C40 5C4F addq.w A7, 6
00004C42 3EBC EA84 move.w [A7], 0xEA84
00004C46 4ED1 jmp [A1]
fn00004C48:
00004C48 4E56 0000 link A6, 0
00004C4C 203C 0000 A89F move.l D0, 0xA89F
00004C52 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00004C54 2F08 move.l -[A7], A0
00004C56 203C 0000 A0AD move.l D0, 0xA0AD
00004C5C A346 syscall GetOSTrapAddress, flags=3
00004C5E B1DF cmpa.l A0, [A7]+
00004C60 670E beq +0x10 /* 00004C70 */
00004C62 202E 000C move.l D0, [A6 + 0xC]
00004C66 A1AD syscall Gestalt, flags=1
00004C68 226E 0008 movea.l A1, [A6 + 0x8]
00004C6C 2288 move.l [A1], A0
00004C6E 6026 bra +0x28 /* 00004C96 */
label00004C70:
00004C70 41FA 0036 lea.l A0, [PC + 0x36 /* 00004CA8, value 0x76657273 'vers' */]
00004C74 303C EA51 move.w D0, 0xEA51
00004C78 222E 000C move.l D1, [A6 + 0xC]
label00004C7C:
00004C7C B298 cmp.l D1, [A0]+
00004C7E 6706 beq +0x8 /* 00004C86 */
00004C80 4A98 tst.l [A0]+
00004C82 6712 beq +0x14 /* 00004C96 */
00004C84 60F6 bra -0x8 /* 00004C7C */
label00004C86:
00004C86 43FA 0020 lea.l A1, [PC + 0x20 /* 00004CA8, value 0x76657273 'vers' */]
00004C8A D3D0 add.l A1, [A0]
00004C8C 4ED1 jmp [A1]
label00004C8E:
00004C8E 226E 0008 movea.l A1, [A6 + 0x8]
00004C92 2280 move.l [A1], D0
00004C94 4240 clr.w D0
label00004C96:
00004C96 3D40 0010 move.w [A6 + 0x10], D0
00004C9A 4E5E unlink A6
00004C9C 205F movea.l A0, [A7]+
00004C9E 508F addq.l A7, 8
00004CA0 4ED0 jmp [A0]
label00004CA2:
00004CA2 303C EA52 move.w D0, 0xEA52
00004CA6 60EE bra -0x10 /* 00004C96 */
00004CA8 7665 moveq.l D3, 0x65
00004CAA 7273 moveq.l D1, 0x73
00004CAC 0000 0060 ori.b D0, 0x60 /* '`' */
00004CB0 6D61 blt +0x63 /* 00004D13 */
00004CB2 6368 bls +0x6A /* 00004D1C */
00004CB4 0000 0064 ori.b D0, 0x64 /* 'd' */
00004CB8 7379 moveq.l D1, 0x79
00004CBA 7376 moveq.l D1, 0x76
00004CBC 0000 0088 ori.b D0, 0x88
00004CC0 7072 moveq.l D0, 0x72
00004CC2 6F63 ble +0x65 /* 00004D27 */
00004CC4 0000 0092 ori.b D0, 0x92
00004CC8 6670 bne +0x72 /* 00004D3A */
00004CCA 7520 moveq.l D2, 0x20
00004CCC 0000 009E ori.b D0, 0x9E
00004CD0 7164 moveq.l D0, 0x64
00004CD2 2020 move.l D0, -[A0]
00004CD4 0000 00E8 ori.b D0, 0xE8
00004CD8 6B62 bmi +0x64 /* 00004D3C */
00004CDA 6420 bcc +0x22 /* 00004CFC */
00004CDC 0000 011A ori.b D0, 0x1A
00004CE0 6174 bsr +0x76 /* 00004D56 */
00004CE2 6C6B bge +0x6D /* 00004D4F */
00004CE4 0000 0142 ori.b D0, 0x42 /* 'B' */
00004CE8 6D6D blt +0x6F /* 00004D57 */
00004CEA 7520 moveq.l D2, 0x20
00004CEC 0000 0164 ori.b D0, 0x64 /* 'd' */
00004CF0 7261 moveq.l D1, 0x61
00004CF2 6D20 blt +0x22 /* 00004D14 */
00004CF4 0000 0188 ori.b D0, 0x88
00004CF8 6C72 bge +0x74 /* 00004D6C */
00004CFA 616D bsr +0x6F /* 00004D69 */
label00004CFC:
00004CFC 0000 0188 ori.b D0, 0x88
00004D00 0000 0000 ori.b D0, 0x0
00004D04 0000 0000 ori.b D0, 0x0
00004D08 7001 moveq.l D0, 0x01
00004D0A 6082 bra -0x7C /* 00004C8E */
00004D0C 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00004D10 7004 moveq.l D0, 0x04
00004D12 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00004D14-00004D1C
label00004D14:
00004D14 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 00004D14-00004D1C
label00004D14: // (misaligned)
00004D18 6712 beq +0x14 /* 00004D2C */
00004D1A 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 00004D1C-00004D22
label00004D1C:
00004D1C 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00004D1C-00004D22
label00004D1C: // (misaligned)
00004D20 6604 bne +0x6 /* 00004D26 */
00004D22 5240 addq.w D0, 1
00004D24 6006 bra +0x8 /* 00004D2C */
label00004D26:
00004D26 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00004D2A 5C80 addq.l D0, 6
label00004D2C:
00004D2C 6000 FF60 bra -0x9E /* 00004C8E */
00004D30 7000 moveq.l D0, 0x00
00004D32 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00004D36 6000 FF56 bra -0xA8 /* 00004C8E */
label00004D3A:
00004D3A 7000 moveq.l D0, 0x00
label00004D3C:
00004D3C 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00004D40 5240 addq.w D0, 1
00004D42 6000 FF4A bra -0xB4 /* 00004C8E */
00004D46 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00004D4C 6738 beq +0x3A /* 00004D86 */
00004D4E 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00004D54 6734 beq +0x36 /* 00004D8A */
fn00004D56:
00004D56 204F movea.l A0, A7
00004D58 F280 .extension 0x280 // unimplemented
00004D5A 0000 F327 ori.b D0, 0x27 /* '\'' */
00004D5E 3017 move.w D0, [A7]
00004D60 2E48 movea.l A7, A0
00004D62 0C40 1F18 cmpi.w D0, 0x1F18
00004D66 6716 beq +0x18 /* 00004D7E */
00004D68 0C40 3F18 cmpi.w D0, 0x3F18
label00004D6C:
00004D6C 6710 beq +0x12 /* 00004D7E */
00004D6E 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00004D72 670E beq +0x10 /* 00004D82 */
00004D74 0C40 1F38 cmpi.w D0, 0x1F38
00004D78 6708 beq +0xA /* 00004D82 */
00004D7A 7000 moveq.l D0, 0x00
00004D7C 600E bra +0x10 /* 00004D8C */
label00004D7E:
00004D7E 7001 moveq.l D0, 0x01
00004D80 600A bra +0xC /* 00004D8C */
label00004D82:
00004D82 7002 moveq.l D0, 0x02
00004D84 6006 bra +0x8 /* 00004D8C */
label00004D86:
00004D86 7003 moveq.l D0, 0x03
00004D88 6002 bra +0x4 /* 00004D8C */
label00004D8A:
00004D8A 7000 moveq.l D0, 0x00
label00004D8C:
00004D8C 6000 FF00 bra -0xFE /* 00004C8E */
00004D90 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00004D96 6E1C bgt +0x1E /* 00004DB4 */
00004D98 303C A89F move.w D0, 0xA89F
00004D9C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00004D9E 2408 move.l D2, A0
00004DA0 203C 0000 AB03 move.l D0, 0xAB03
00004DA6 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00004DA8 203C 0000 0100 move.l D0, 0x100
00004DAE B488 cmp.l D2, A0
00004DB0 6606 bne +0x8 /* 00004DB8 */
00004DB2 600A bra +0xC /* 00004DBE */
label00004DB4:
00004DB4 7000 moveq.l D0, 0x00
00004DB6 6006 bra +0x8 /* 00004DBE */
label00004DB8:
00004DB8 203C 0000 0200 move.l D0, 0x200
label00004DBE:
00004DBE 6000 FECE bra -0x130 /* 00004C8E */
00004DC2 1038 021E move.b D0, [0x0000021E /* KbdType */]
00004DC6 41FA 0016 lea.l A0, [PC + 0x16 /* 00004DDE, value 0x3130B02 */]
00004DCA 2248 movea.l A1, A0
label00004DCC:
00004DCC 1218 move.b D1, [A0]+
00004DCE 6700 FED2 beq -0x12C /* 00004CA2 */
00004DD2 B200 cmp.b D1, D0
00004DD4 66F6 bne -0x8 /* 00004DCC */
00004DD6 91C9 sub.l A0, A1
00004DD8 2008 move.l D0, A0
00004DDA 6000 FEB2 bra -0x14C /* 00004C8E */
00004DDE 0313 btst [A3], D1
00004DE0 0B02 btst D2, D5
00004DE2 0106 btst D6, D0
00004DE4 0704 btst D4, D3
00004DE6 0508 btst A0, D2
00004DE8 0900 btst D0, D4
00004DEA 7000 moveq.l D0, 0x00
00004DEC 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00004DF0 6B16 bmi +0x18 /* 00004E08 */
00004DF2 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00004DF6 0201 000F andi.b D1, 0xF
00004DFA 0C01 0001 cmpi.b D1, 0x1
00004DFE 6608 bne +0xA /* 00004E08 */
00004E00 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00004E04 1028 0007 move.b D0, [A0 + 0x7]
label00004E08:
00004E08 6000 FE84 bra -0x17A /* 00004C8E */
00004E0C 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00004E12 6D16 blt +0x18 /* 00004E2A */
00004E14 7000 moveq.l D0, 0x00
00004E16 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00004E1A 0C00 0001 cmpi.b D0, 0x1
00004E1E 670C beq +0xE /* 00004E2C */
00004E20 0C00 0003 cmpi.b D0, 0x3
00004E24 6D04 blt +0x6 /* 00004E2A */
00004E26 5340 subq.w D0, 1
00004E28 6002 bra +0x4 /* 00004E2C */
label00004E2A:
00004E2A 7000 moveq.l D0, 0x00
label00004E2C:
00004E2C 6000 FE60 bra -0x19E /* 00004C8E */
00004E30 303C A89F move.w D0, 0xA89F
00004E34 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00004E36 2408 move.l D2, A0
00004E38 203C 0000 A88F move.l D0, 0xA88F
00004E3E A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00004E40 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00004E44 B488 cmp.l D2, A0
00004E46 670A beq +0xC /* 00004E52 */
00004E48 598F subq.l A7, 4
00004E4A 3F3C 0016 move.w -[A7], 0x16
00004E4E A88F syscall OSDispatch
00004E50 201F move.l D0, [A7]+
label00004E52:
00004E52 6000 FE3A bra -0x1C4 /* 00004C8E */
00004E56 7402 moveq.l D2, 0x02
label00004E58:
00004E58 205F movea.l A0, [A7]+
00004E5A 3F02 move.w -[A7], D2
00004E5C 2F08 move.l -[A7], A0
00004E5E ADE9 syscall Pack2, auto_pop
00004E60 7400 moveq.l D2, 0x00
00004E62 4EFA FFF4 jmp [PC - 0xC /* 00004E58 */]
00004E66 202F 0004 move.l D0, [A7 + 0x4]
00004E6A 2F40 0008 move.l [A7 + 0x8], D0
00004E6E 6726 beq +0x28 /* 00004E96 */
00004E70 2040 movea.l A0, D0
00004E72 2248 movea.l A1, A0
00004E74 1019 move.b D0, [A1]+
00004E76 671E beq +0x20 /* 00004E96 */
label00004E78:
00004E78 1211 move.b D1, [A1]
00004E7A 12C0 move.b [A1]+, D0
00004E7C 1001 move.b D0, D1
00004E7E 66F8 bne -0x6 /* 00004E78 */
00004E80 93C8 sub.l A1, A0
00004E82 2009 move.l D0, A1
00004E84 5340 subq.w D0, 1
00004E86 0C80 0000 00FF cmpi.l D0, 0xFF
00004E8C 6F06 ble +0x8 /* 00004E94 */
00004E8E 203C 0000 00FF move.l D0, 0xFF
label00004E94:
00004E94 1080 move.b [A0], D0
label00004E96:
00004E96 225F movea.l A1, [A7]+
00004E98 584F addq.w A7, 4
00004E9A 4ED1 jmp [A1]
fn00004E9C:
00004E9C 225F movea.l A1, [A7]+
00004E9E 201F move.l D0, [A7]+
00004EA0 2E80 move.l [A7], D0
00004EA2 6712 beq +0x14 /* 00004EB6 */
00004EA4 2040 movea.l A0, D0
00004EA6 7000 moveq.l D0, 0x00
00004EA8 1010 move.b D0, [A0]
00004EAA 6004 bra +0x6 /* 00004EB0 */
label00004EAC:
00004EAC 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00004EB0:
00004EB0 51C8 FFFA dbf D0, -0x8 /* 00004EAC */
00004EB4 4210 clr.b [A0]
label00004EB6:
00004EB6 4ED1 jmp [A1]
00004EB8 594F subq.w A7, 4
00004EBA 2F2F 0008 move.l -[A7], [A7 + 0x8]
00004EBE 4EBA FFDC jsr [PC - 0x24 /* 00004E9C */]
00004EC2 205F movea.l A0, [A7]+
00004EC4 2008 move.l D0, A0
00004EC6 4E75 rts
00004EC8 0000 0005 ori.b D0, 0x5
00004ECC 40F7 41DF move.w <<invalid full ext with IS == 1 and I/IS == 7>>, SR
00004ED0 AD49 syscall GetMenuHandle, auto_pop
00004ED2 EC4F lsr D7.w, 6
00004ED4 6200 0000 bhi +0x2 /* 00004ED6 */
// begin alternate branch 00004ED6-00004EE0
label00004ED6:
00004ED6 0000 06BD ori.b D0, 0xBD
00004EDA AA43 syscall SetControlColor/SetCtlColor
00004EDC 3B43 1549 move.w [A5 + 0x1549], D3
// end alternate branch 00004ED6-00004EE0
label00004ED6: // (misaligned)
00004ED8 06BD AA43 3B43 addi.l <<invalid special address>>, 0xAA433B43
00004EDE 1549 B641 move.b [A2 - 0x49BF], A1
// begin alternate branch 00004EE0-00004EE2
label00004EE0:
00004EE0 B641 cmp.w D3, D1
// end alternate branch 00004EE0-00004EE2
label00004EE0: // (misaligned)
00004EE2 4700 .invalid 3, D0 // invalid opcode 4 with b == 4
00004EE4 0000 B8A7 ori.b D0, 0xA7
00004EE8 93A4 sub.l -[A4], D1
00004EEA ED40 asl D0.w, 6
00004EEC 64F9 bcc -0x5 /* 00004EE7 */
00004EEE F993 .extension 0x993 // unimplemented
00004EF0 B08A cmp.l D0, A2
00004EF2 8C8A or.l D6, A2
00004EF4 4044 negx.w D4
00004EF6 E7E0 rol .w -[A0]
00004EF8 8B8C 405F unpk -[A5], -[A4], 0x405F
00004EFC 9DBB 9189 sub.l [[ + <<invalid base displacement size>> + A1]], D6
00004F00 97A1 sub.l -[A1], D3
00004F02 EA40 asr D0.w, 5
00004F04 4290 clr.l [A0]
00004F06 9DA1 sub.l -[A1], D6
00004F08 EBAB lsl D3, D5
00004F0A 9A8C sub.l D5, A4
00004F0C 8B96 or.l [A6], D5
00004F0E A09C syscall NewPtrStartup
00004F10 B2F2 EE40 cmpa.w A1, [A2 + A6 * 8 + 0x40]
00004F14 C87F and.w D4, <<invalid special address>>
00004F16 A841 syscall Fix2Frac
00004F18 73B8 moveq.l D1, 0xFFFFFFB8
00004F1A 404A negx.w A2
00004F1C 8940 BC7F pack D4, D0, 0xBC7F
00004F20 9340 subx.w D1, D0
00004F22 818B 41BC unpk -[A0], -[A3], 0x41BC
00004F26 7EA0 moveq.l D7, 0xFFFFFFA0
00004F28 4107 .invalid 0, D7 // invalid opcode 4 with b == 4
00004F2A 7F89 moveq.l D7, 0xFFFFFF89
00004F2C 7FBA moveq.l D7, 0xFFFFFFBA
00004F2E 408A negx.l A2
00004F30 406D 9340 negx.w [A5 - 0x6CC0]
00004F34 5390 subq.l [A0], 1
00004F36 B9E3 cmpa.l A4, -[A3]
00004F38 8E9C or.l D7, [A4]+
00004F3A 41EF 909A lea.l A0, [A7 - 0x6F66]
00004F3E 41D8 lea.l A0, [A0]+
00004F40 9298 sub.l D1, [A0]+
00004F42 4061 negx.w -[A1]
00004F44 8685 or.l D3, D5
00004F46 8640 or.w D3, D0
00004F48 468C not.l A4
00004F4A 40FC 9A89 AB96 move.w 0x9A89AB96, SR
00004F50 918B subx.l -[A0], -[A3]
00004F52 A185 syscall IdleUpdate/PMgrOp, flags=1
00004F54 406E E5A1 negx.w [A6 - 0x1A5F]
label00004F58:
00004F58 8640 or.w D3, D0
00004F5A 6B84 bmi -0x7A /* 00004EE0 */
00004F5C 40F9 7FB7 BE40 move.w [0x7FB7BE40], SR
00004F62 7E7F moveq.l D7, 0x7F
00004F64 A688 syscall IOPMoveData, flags=6
00004F66 96F4 8740 sub.w A3, [A4 + <<invalid base displacement size>>]
00004F6A 62EC bhi -0x12 /* 00004F58 */
00004F6C B196 xor.l [A6], D0
00004F6E A78F syscall DeferUserFn, flags=7
00004F70 BA92 cmp.l D5, [A2]
00004F72 8340 488A pack D1, D0, 0x488A
00004F76 8D87 410D unpk D6, D7, 0x410D
00004F7A 7F0A moveq.l D7, 0x0A
00004F7C 406C C240 negx.w [A4 - 0x3DC0]
00004F80 C0F9 7F7E 4048 mulu.w D0, [0x7F7E4048]
00004F86 412B 4157 .invalid 0, [A3 + 0x4157] // invalid opcode 4 with b == 4
00004F8A 9E96 sub.l D7, [A6]
00004F8C 9C89 sub.l D6, A1
00004F8E 859A or.l [A2]+, D2
00004F90 4040 negx.w D0
00004F92 F096 .extension 0x096 // unimplemented
00004F94 A740 syscall ResrvMem/ReserveMem, flags=7
00004F96 4340 chk.w D1, D0
00004F98 AF87 syscall slXMASK11, auto_pop
00004F9A 9740 subx.w D3, D0
00004F9C 40B9 4048 410B negx.l [0x4048410B]
00004FA2 8441 or.w D2, D1
00004FA4 0FF6 F6F6 bset [A6 + A7.w * 8 - 0x10], D7
00004FA8 F6E2 .extension 0x6E2 // unimplemented
00004FAA 409A negx.l [A2]+
00004FAC A883 syscall DrawChar
00004FAE B883 cmp.l D4, D3
00004FB0 4050 negx.w [A0]
00004FB2 8F8F A341 unpk -[A7], -[A7], 0xA341
00004FB6 7941 moveq.l D4, 0x41
00004FB8 5BE0 smi -[A0]
00004FBA 99BB 4047 sub.l [PC + D4.w + 0x47], D4
00004FBE 40A1 negx.l -[A1]
00004FC0 E099 ror D1, 8
00004FC2 408E negx.l A6
00004FC4 4095 negx.l [A5]
00004FC6 EAE6 406B bfchg -[A6] {1:D3}
00004FCA 4081 negx.l D1
00004FCC F9AC .extension 0x9AC // unimplemented
00004FCE 9AB7 969B sub.l D5, [A7 + A1.w * 8 - 0x101]
00004FD2 9696 sub.l D3, [A6]
00004FD4 9696 sub.l D3, [A6]
00004FD6 9B96 sub.l [A6], D5